mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-13 06:17:08 +00:00
The ubuntu-core-installer image is an installer that installs ubuntu core. The environment the installer runs in is similar to the server installer but it has a source catalog entry that points to the model created in ubuntu-core-installer/hooks/05-prepare-image.binary, which subiquity knows how to install.
18 lines
617 B
Bash
Executable File
18 lines
617 B
Bash
Executable File
#!/bin/bash -ex
|
|
# vi: ts=4 noexpandtab
|
|
|
|
if [ "${PASS}" != "base.live" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
# Make sure NoCloud is last
|
|
values=$(echo get cloud-init/datasources | debconf-communicate | sed 's/^0 //;s/NoCloud, //;s/None/NoCloud, None/')
|
|
printf "%s\t%s\t%s\t%s\n" \
|
|
cloud-init cloud-init/datasources multiselect "$values" | debconf-set-selections
|
|
dpkg-reconfigure --frontend=noninteractive cloud-init
|
|
|
|
if [ `dpkg --print-architecture` = s390x ]; then
|
|
# because z/VM x3270 is just ttyS0
|
|
cp -r /usr/lib/systemd/system/serial-getty@sclp_line0.service.d /usr/lib/systemd/system/serial-getty@ttyS0.service.d
|
|
fi
|