[Bug 1563296] [NEW] cloud-init 0.7.7~bzr1189-0ubuntu1 adds duplicated network config in /etc/network/interfaces.d/ in snappy leaving the boot completely network-less

Oliver Grawert ogra at ubuntu.com
Tue Mar 29 12:14:36 UTC 2016


Public bug reported:

snappy configures /etc/network/interfaces.d/ by default on first boot
based on snappy config settings of the ubuntu-core snap

with version  0.7.7~bzr1189-0ubuntu1 cloud-init now starts to also
create a file called 50-cloud-init.cfg with differing options to teh
snappy default, this breaks ifup on boot and leaves snappy systems
completely without network after upgrade.

ubuntu at localhost:~$ ls -l /etc/network/interfaces.d/
total 8
-rw-r--r-- 1 root root 64 Mar 28 09:23 50-cloud-init.cfg
-rw-r--r-- 1 root root 40 Mar 28 09:19 eth0

ubuntu at localhost:~$ cat /etc/network/interfaces.d/50-cloud-init.cfg 
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

ubuntu at localhost:~$ cat /etc/network/interfaces.d/eth0 
allow-hotplug eth0
iface eth0 inet dhcp

** Affects: snappy
     Importance: Undecided
         Status: New

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: snappy
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1563296

Title:
  cloud-init 0.7.7~bzr1189-0ubuntu1 adds duplicated network config in
  /etc/network/interfaces.d/ in snappy leaving the boot completely
  network-less

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1563296/+subscriptions



More information about the Ubuntu-server-bugs mailing list