[Bug 1563487] Re: do not delete /etc/network/interfaces.d/eth0.cfg

Scott Moser smoser at ubuntu.com
Tue May 17 19:26:23 UTC 2016


This seems fix-released for xenial images:
$ wget http://cloud-images.ubuntu.com/releases/xenial/release-20160420.3/ubuntu-16.04-server-cloudimg-amd64-disk1.img
$ sudo mount-image-callback --read-only --cd ubuntu-16.04-server-cloudimg-amd64-disk1.img -- sh -xc 'cat etc/cloud/build.info; ls -l etc/network/interfaces.d/eth0.cfg; ls -l etc/network/interfaces.d/'
mount: /dev/nbd0p1 is write-protected, mounting read-only
+ cat etc/cloud/build.info
build_name: server
serial: 20160420-145324
+ ls -l etc/network/interfaces.d/eth0.cfg
ls: cannot access 'etc/network/interfaces.d/eth0.cfg': No such file or directory
+ ls -l etc/network/interfaces.d/
total 0


** Changed in: cloud-images
       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/1563487

Title:
  do not delete /etc/network/interfaces.d/eth0.cfg

Status in cloud-images:
  Fix Released
Status in cloud-init:
  Fix Released
Status in cloud-init package in Ubuntu:
  Fix Released
Status in livecd-rootfs package in Ubuntu:
  Fix Released

Bug description:
  currently cloud-init is removing /etc/network/interfaces.d/eth0.cfg .
  This is because cloud-init now has a 'fallback' mode for getting configuration which should be superior to the statically written one by the image build process in all cases.

  That said, still best to *not* delete the file.

  This change is then 2 phased:
    a.) CPC not write that file on xenial in cloud images
    b.) cloud-init stop deleting it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1563487/+subscriptions



More information about the foundations-bugs mailing list