[Bug 1080681] Re: debian guests get different IPv4 at every reboot
Serge Hallyn
1080681 at bugs.launchpad.net
Wed Nov 28 22:58:42 UTC 2012
@Enrique,
near as i can tell this turns out to be not an lxc issue (unless we want
the template to be more invasive than it already is).
In Ubuntu it looks like ifup simply is smart enough to not follow
through with dhcp if the nic is already up with an address. In debian,
not.
If you want the debian containers to not run dhcp, then you need to edit
/etc/network/interfaces to tell ifupdown not to run dhcp on the devices.
As I say the lxc debian template could look for a lxc.network.ipv4 entry
in the provided lxc.conf and, if present, edit the container's
/etc/network/interfaces to make that happen. But it's interesting that
the ubuntu template doesn't do that.
--
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/1080681
Title:
debian guests get different IPv4 at every reboot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1080681/+subscriptions
More information about the Ubuntu-server-bugs
mailing list