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
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 server- cloudimg- amd64-disk1. img network/ interaces. d/eth0
modprobe nbd max_part=63
qemu-nbd -c /dev/nbd0 trusty-
mount /dev/nbd0p1 /mnt/
rm /mnt/etc/
umount /mnt
# Upload and use the edited image