[lxc-users] bridged device's name
Fajar A. Nugraha
list at fajar.net
Tue Aug 21 02:14:53 UTC 2018
On Tue, Aug 21, 2018 at 8:40 AM, Mike Wright <nobody at nospam.hostisimo.com>
wrote:
> Hi all,
>
> Is there a way to set a network device's host side name?
>
> e.g. with lxc style configs:
>
> #myContainer
> lxc.net.0.type = veth
> lxc.net.0.veth.pair = host-side-name
> lxc.net.0.link = myBridge
>
>
Are you asking the equivalent of lxc.net.0.veth.pair in lxd?
Try:
devices:
eth0:
host_name: host-side-name
name: eth0
nictype: bridged
parent: myBridge
type: nic
--
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180821/24d0c509/attachment.html>
More information about the lxc-users
mailing list