Disable cloud-init for the live-session. user-setup will create our ubuntu user via casper.

ubuntu/zesty
Mathieu Trudel-Lapierre 8 years ago
parent 29f5dc57fd
commit bf958b1472

@ -41,6 +41,9 @@ chroot $SQUASH_ROOT apt-get update
chroot $SQUASH_ROOT apt-get -y install user-setup
chroot $SQUASH_ROOT apt-get -y install curtin
# Don't let cloud-init run in the live session.
touch $SQUASH_ROOT/etc/cloud/cloud-init.disabled
# Do the snap seeding dance.
chroot $SQUASH_ROOT mkdir -p /var/lib/snapd/seed/snaps /var/lib/snapd/seed/assertions
chroot $SQUASH_ROOT sh -c '

Loading…
Cancel
Save