[Bug 1346815] Re: lxc-clone causes duplicate MAC address and IP address
Stéphane Graber
stgraber at stgraber.org
Fri Feb 19 19:21:22 UTC 2016
Not much we can do about the IP address though. For the MAC it's
unlikely that anything in the container is tied to it so we can just
generate a fresh one without requiring any knowledge about the workload
or the environment.
An IP address is much more problematic because maybe you did mean to
keep the address (won't run both containers at once) or you're going to
move the clone to another host or another bridge and even if we could
know that, there's no way for LXC to know what IP it should be using and
removing the IP entry would likely break the container.
So unfortunately for IP configuration, it's really up to the user to
know about it (they're the ones who put it there, LXC itself never
writes one) and update as needed.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1346815
Title:
lxc-clone causes duplicate MAC address and IP address
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1346815/+subscriptions
More information about the Ubuntu-server-bugs
mailing list