mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-12 03:11:40 +00:00
backport some system unit & cloud-init config changes from devel:
* Simplify how the subiquity client is run on the serial console in the live server environment, breaking a unit cycle that sometimes prevents subiquity from starting up at all. (LP: #1888497) * Do not set the password for the installer user via cloud-init as subiquity can now do this itself. (LP: #1933523)
This commit is contained in:
parent
d95cb8b344
commit
c27dbda4ca
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -1,3 +1,13 @@
|
|||||||
|
livecd-rootfs (2.664.25) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Simplify how the subiquity client is run on the serial console in the live
|
||||||
|
server environment, breaking a unit cycle that sometimes prevents
|
||||||
|
subiquity from starting up at all. (LP: #1888497)
|
||||||
|
* Do not set the password for the installer user via cloud-init as subiquity
|
||||||
|
can now do this itself. (LP: #1933523)
|
||||||
|
|
||||||
|
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Fri, 23 Jul 2021 11:57:01 +1200
|
||||||
|
|
||||||
livecd-rootfs (2.664.24) focal; urgency=medium
|
livecd-rootfs (2.664.24) focal; urgency=medium
|
||||||
|
|
||||||
* Backport generalising of the riscv64 images from hirsute to support
|
* Backport generalising of the riscv64 images from hirsute to support
|
||||||
|
@ -17,8 +17,6 @@ preserve_hostname: true
|
|||||||
ssh_pwauth: yes
|
ssh_pwauth: yes
|
||||||
chpasswd:
|
chpasswd:
|
||||||
expire: false
|
expire: false
|
||||||
list:
|
|
||||||
- installer:RANDOM
|
|
||||||
|
|
||||||
# This is the initial network config.
|
# This is the initial network config.
|
||||||
# It can be overwritten by cloud-init or subiquity.
|
# It can be overwritten by cloud-init or subiquity.
|
||||||
@ -34,7 +32,7 @@ network:
|
|||||||
name: "eth*"
|
name: "eth*"
|
||||||
dhcp4: true
|
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
|
# Example datasource config
|
||||||
# datasource:
|
# datasource:
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
/dev/null
|
@ -1,2 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Subiquity, the installer for Ubuntu Server %I
|
||||||
|
After=snapd.seeded.service
|
||||||
|
StartLimitInterval=0
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=/bin/systemctl start serial-subiquity@%i.service
|
Environment=SNAP_REEXEC=0
|
||||||
|
ExecStart=
|
||||||
|
ExecStart=/usr/bin/snap run subiquity.subiquity-service %I
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
[Unit]
|
|
||||||
After=cloud-final.service snapd.seeded.service
|
|
||||||
[Service]
|
[Service]
|
||||||
StandardOutput=tty
|
StandardOutput=tty
|
||||||
ExecStartPre=
|
ExecStart=
|
||||||
ExecStartPre=/usr/bin/snap run subiquity --ssh
|
ExecStart=/usr/bin/snap run subiquity --ssh
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
IgnoreOnIsolate=yes
|
IgnoreOnIsolate=yes
|
||||||
After=systemd-user-sessions.service plymouth-quit-wait.service snap.seeded.service
|
After=systemd-user-sessions.service plymouth-quit-wait.service snap.seeded.service
|
||||||
ConditionPathExists=!/run/subiquity/complete
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=SNAP_REEXEC=0
|
Environment=SNAP_REEXEC=0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user