Imported 2.728

No reason for CPC update specified.
impish
CloudBuilder 4 years ago
parent afb87dbf4e
commit b8ef966d04

16
debian/changelog vendored

@ -1,3 +1,19 @@
livecd-rootfs (2.728) impish; urgency=medium
[ Dan Bungert ]
* Remove the customized final message from the live server cloud-init config
as it is no longer displayed.
[ Michael Hudson-Doyle ]
* Make sure the process that prints SSH connection info on s390x has
its output connected to the console. (LP: #1933523)
[ Brian Murray ]
* Add a subarch of intel-iotg which is used for creating images with a
kernel optimized for Intel IOT devices.
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Thu, 01 Jul 2021 11:00:08 +1200
livecd-rootfs (2.727) impish; urgency=medium
* Remove assumption in 032-installer-squashfs.binary that all core snaps

@ -299,7 +299,7 @@ if [ -z "${IMAGEFORMAT:-}" ]; then
case $PROJECT:${SUBPROJECT:-} in
ubuntu-cpc:*|ubuntu:desktop-preinstalled)
case $SUBARCH in
raspi)
raspi|intel-iotg)
IMAGEFORMAT=ubuntu-image
;;
*)
@ -632,20 +632,32 @@ case $PROJECT in
desktop-preinstalled)
add_task install minimal standard ubuntu-desktop
if [ "$SUBARCH" = "raspi" ]; then
add_task install ubuntu-desktop-raspi
# XXX: Are those actually needed? I see we use those for ubuntu-cpc, which is the project
# for existing raspi preinstalled images
# XXX: I would prefer to use --hdd-label=desktop-rootfs like 040-hyperv-desktop-images.binary
OPTS="${OPTS:+$OPTS }--initramfs=none"
OPTS="${OPTS:+$OPTS }--system=normal"
OPTS="${OPTS:+$OPTS }--hdd-label=cloudimg-rootfs"
OPTS="${OPTS:+$OPTS }--ext-resize-blocks=536870912 --ext-block-size=4096"
OPTS="${OPTS:+$OPTS }--ext-fudge-factor=15"
fi
## Otherwise HYPERV image options.... *crickets* see the hyperv hook
case $SUBARCH in
raspi)
add_task install ubuntu-desktop-raspi
# XXX: Are those actually needed? I see we use those for ubuntu-cpc, which is the project
# for existing raspi preinstalled images
# XXX: I would prefer to use --hdd-label=desktop-rootfs like 040-hyperv-desktop-images.binary
OPTS="${OPTS:+$OPTS }--initramfs=none"
OPTS="${OPTS:+$OPTS }--system=normal"
OPTS="${OPTS:+$OPTS }--hdd-label=cloudimg-rootfs"
OPTS="${OPTS:+$OPTS }--ext-resize-blocks=536870912 --ext-block-size=4096"
OPTS="${OPTS:+$OPTS }--ext-fudge-factor=15"
;;
intel-iotg)
KERNEL_FLAVOURS='image-intel'
COMPONENTS='main restricted universe'
OPTS="${OPTS:+$OPTS }--initramfs=none"
OPTS="${OPTS:+$OPTS }--system=normal"
OPTS="${OPTS:+$OPTS }--hdd-label=cloudimg-rootfs"
OPTS="${OPTS:+$OPTS }--ext-resize-blocks=536870912 --ext-block-size=4096"
OPTS="${OPTS:+$OPTS }--ext-fudge-factor=15"
;;
*)
## Otherwise HYPERV image options.... *crickets* see the hyperv hook
;;
esac
;;
*)
LIVE_TASK='ubuntu-live'
add_task install minimal standard ubuntu-desktop
@ -807,6 +819,10 @@ case $PROJECT in
amd64)
if [ "${SUBARCH:-}" = "generic" ]; then
KERNEL_FLAVOURS=generic
elif [ "${SUBARCH:-}" = "intel-iotg" ]; then
KERNEL_FLAVOURS=image-intel
COMPONENTS='main restricted universe'
OPTS="${OPTS:+$OPTS }--initramfs=none"
fi
;;
riscv64*)
@ -960,6 +976,14 @@ case $PROJECT in
_)
add_chroot_hook remove-python-py
;;
amd64)
KERNEL_FLAVOURS="${SUBARCH:-$KERNEL_FLAVOURS}"
case $SUBARCH in
intel-iotg)
COMPONENTS='main restricted universe'
KERNEL_FLAVOURS='image-intel'
esac
;;
esac
lb config noauto \

@ -32,7 +32,7 @@ network:
name: "eth*"
dhcp4: true
final_message: "## template: jinja\nCloud-init v. {{version}} finished at {{timestamp}}. Datasource {{datasource}}. Up {{uptime}} seconds\n\n\nWelcome to Ubuntu Server Installer!\n\nAbove you will find SSH host keys and a random password set for the `installer` user. You can use these credentials to ssh-in and complete the installation. If you provided SSH keys in the cloud-init datasource, they were also provisioned to the installer user.\n\nIf you have access to the graphical console, like TTY1 or HMC ASCII terminal you can complete the installation there too."
# We used to have a custom final_message here. Just use the default instead.
# Example datasource config
# datasource:

@ -1,3 +1,4 @@
[Service]
StandardOutput=tty
ExecStart=
ExecStart=/usr/bin/snap run subiquity --ssh

Loading…
Cancel
Save