mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-07 00:41:40 +00:00
Ensure seed part. is mounted; wait for getty
This commit is contained in:
parent
ddb9c7f127
commit
fcaa6d447c
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -1,3 +1,12 @@
|
|||||||
|
livecd-rootfs (2.525.39) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Ensure seed partition is mounted on no-cloud images which use system-boot
|
||||||
|
as their seed (LP: #1860046)
|
||||||
|
* Have getty wait for cloud-init to complete to ensure that the default
|
||||||
|
user exists before presenting a login prompt
|
||||||
|
|
||||||
|
-- Dave Jones <dave.jones@canonical.com> Fri, 24 Jan 2020 15:17:56 +0000
|
||||||
|
|
||||||
livecd-rootfs (2.525.38) bionic; urgency=medium
|
livecd-rootfs (2.525.38) bionic; urgency=medium
|
||||||
|
|
||||||
* Support generating a .disk/info file via ubuntu-image from the passed-in
|
* Support generating a .disk/info file via ubuntu-image from the passed-in
|
||||||
|
@ -19,5 +19,19 @@ datasource_list: [ NoCloud, None ]
|
|||||||
datasource:
|
datasource:
|
||||||
NoCloud:
|
NoCloud:
|
||||||
fs_label: system-boot
|
fs_label: system-boot
|
||||||
|
EOF
|
||||||
|
mkdir -p /etc/systemd/system/cloud-init-local.service.d
|
||||||
|
cat << EOF > /etc/systemd/system/cloud-init-local.service.d/mount-seed.conf
|
||||||
|
# Ensure our customized seed location is mounted prior to execution
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
RequiresMountsFor=/boot/firmware
|
||||||
|
EOF
|
||||||
|
mkdir -p /etc/systemd/system/cloud-config.service.d
|
||||||
|
cat << EOF > /etc/systemd/system/cloud-config.service.d/getty-wait.conf
|
||||||
|
# Wait for cloud-init to finish (creating users, etc.) before running getty
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Before=getty.target
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user