On 06/15/2011 12:13 PM, ubik pl wrote:
> Hello,
>
> Is there a way to assign veth name(visible from the host) to be the same
> each time the container boots ?
> At the moment it is a random value like vethFFzyq2
>

Yes there is:

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br-eth0
lxc.network.name = eth0
lxc.network.mtu = 1500
lxc.network.ipv4 = 1.2.3.4/24
lxc.network.hwaddr = 52:54:64:07:1e:b8
lxc.network.veth.pair = veth-foo0


You can define a lot of thing.

tamas

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to