the logic for doing this is the same as why it is done for cloud-images, for which see http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk/revision/1520 I think this behaviour is a bug in cloud-init (see lp:#1737630) but this is a good workaround in the mean time