On 2015-10-27 23:36, Serge Hallyn wrote:
Same "lxc config set containername", i.e.:
lxc config set x1 raw.lxc "lxc.network.ipv4 = 10.0.12.2/24"
lxc config set x1 raw.lxc "lxc.network.ipv4.gateway = 10.0.12.1"
lxc config set x1 raw.lxc "lxc.network.ipv6 = 1111:2222:3333:4444::55"
lxc config set x1 raw.lxc "lxc.network.ipv6.gateway =
1111:2345:6789:aaaa::2"
Or is there some other, more recommended way?
Can you show fully what you want to do? Are you aiming for a
routed config, or are you moidfying a bridged nic device?
The above is mixed: routed IPv4 and bridged IPv6 config.
But it doesn't matter if it's bridged or routed - all I want to do is:
- to set static IPv4 and IPv6 addresses, without doing so in the
container (works with lxc),
- be sure lxd does not hang if I supply something incompatible in CLI :)
Tomasz Chmielewski
http://wpkg.org
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users