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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
