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

Launchpad Bug Tracker 1563296 at bugs.launchpad.net
Fri Apr 1 19:03:08 UTC 2016


This bug was fixed in the package livecd-rootfs - 2.395

---------------
livecd-rootfs (2.395) xenial; urgency=medium

  * create /etc/cloud/cloud.cfg.d/99-snappy-disable-network-config.cfg on
    snappy so we do not end up with broken network config after cloud-init
    ran (LP: #1563296).

 -- Oliver Grawert <ogra at ubuntu.com>  Fri, 01 Apr 2016 16:31:50 +0200

** Changed in: livecd-rootfs (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs 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

Status in Snappy:
  New
Status in cloud-init package in Ubuntu:
  Confirmed
Status in livecd-rootfs package in Ubuntu:
  Fix Released

Bug description:
  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

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



More information about the foundations-bugs mailing list