[Bug 1534205] [NEW] cloud-initramfs-dyn-netconf should work without /etc/network/interfaces symlink
Scott Moser
smoser at ubuntu.com
Thu Jan 14 15:37:08 UTC 2016
Public bug reported:
See [1] for doc on cloud-initramfs-dyn-netconf.
cloud-initramfs-dyn-netconf takes klibc ipconfig output and writes /etc/network/interfaces (ENI) style file in /run/network/dynamic-interfaces.
The goal is to have the user's provided 'ip=' kernel parameters be "sticky" and not have the network interface get bounced by normal post-initramfs networking bringup. Essentially kernel command line should override /etc/network/interfaces in a similar way to command line flags overriding environment or system configuration.
As it is right now, we have to have ln -sf /etc/network/interfaces /run/network/dynamic-interfaces in order for this to work.
That means:
a.) if you've not done this, dyn-netconf isn't much use
b.) if you *have* done this, but not provided ip= then you'll get you'll get no network configuration.
In xenial, the one necessary change from a cloud image to maas image is
this symlink, so that the image can work well with networking
information being provided on the kernel command line via network boot.
--
[1] http://bazaar.launchpad.net/~cloud-initramfs-tools/cloud-initramfs-tools/trunk/view/head:/dyn-netconf/doc/README.txt
** Affects: cloud-initramfs-tools (Ubuntu)
Importance: High
Status: Confirmed
** Changed in: cloud-initramfs-tools (Ubuntu)
Status: New => Confirmed
** Changed in: cloud-initramfs-tools (Ubuntu)
Importance: Undecided => High
** Description changed:
See [1] for doc on cloud-initramfs-dyn-netconf.
cloud-initramfs-dyn-netconf takes klibc ipconfig output and writes /etc/network/interfaces (ENI) style file in /run/network/dynamic-interfaces.
The goal is to have the user's provided 'ip=' kernel parameters be "sticky" and not have the network interface get bounced by normal post-initramfs networking bringup. Essentially kernel command line should override /etc/network/interfaces in a similar way to command line flags overriding environment or system configuration.
As it is right now, we have to have ln -sf /etc/network/interfaces /run/network/dynamic-interfaces in order for this to work.
That means:
- a.) if you've not done this, dyn-netconf isn't much use
- b.) if you *have* done this, but not provided ip= then you'll get you'll get no network configuration.
+ a.) if you've not done this, dyn-netconf isn't much use
+ b.) if you *have* done this, but not provided ip= then you'll get you'll get no network configuration.
+
+ In xenial, the one necessary change from a cloud image to maas image is
+ this symlink, so that the image can work well with networking
+ information being provided on the kernel command line via network boot.
--
[1] http://bazaar.launchpad.net/~cloud-initramfs-tools/cloud-initramfs-tools/trunk/view/head:/dyn-netconf/doc/README.txt
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1534205
Title:
cloud-initramfs-dyn-netconf should work without
/etc/network/interfaces symlink
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1534205/+subscriptions
More information about the Ubuntu-server-bugs
mailing list