[Bug 1315501] Re: cloud-init does not use interfaces.d in trusty
David Moreau Simard
dmsimard at iweb.com
Tue Apr 21 20:08:59 UTC 2015
Lots of people asking for workarounds, I figured I would post mine - it
involves deleting the eth0 file from /etc/network/interfaces.d prior to
using the image. So it goes a bit like this:
# Install qemu-utils
apt-get install qemu-utils
# Mount the Ubuntu cloud image
modprobe nbd max_part=63
qemu-nbd -c /dev/nbd0 trusty-server-cloudimg-amd64-disk1.img
mount /dev/nbd0p1 /mnt/
rm /mnt/etc/network/interaces.d/eth0
umount /mnt
# Upload and use the edited image
--
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/1315501
Title:
cloud-init does not use interfaces.d in trusty
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1315501/+subscriptions
More information about the Ubuntu-server-bugs
mailing list