Simplify how serial-getty@.service is customized in the live server installer environment.

delete-obsolete-ubuntu-core
Michael Hudson-Doyle 4 years ago
parent 05023332bc
commit 7ba371b315

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.720) UNRELEASED; urgency=medium
* Simplify how serial-getty@.service is customized in the live server
installer environment.
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Wed, 21 Apr 2021 11:37:17 +1200
livecd-rootfs (2.719) hirsute; urgency=medium
* Our raspi server images should have used the raspi-server seed in hirsute,

@ -1,2 +1,8 @@
[Unit]
Description=Subiquity, the installer for Ubuntu Server %I
After=snapd.seeded.service
StartLimitInterval=0
[Service]
ExecStartPre=/bin/systemctl start serial-subiquity@%i.service
Environment=SNAP_REEXEC=0
ExecStart=/usr/bin/snap run subiquity.subiquity-service %I

@ -1,6 +1,2 @@
[Unit]
After=cloud-final.service snapd.seeded.service
[Service]
StandardOutput=tty
ExecStartPre=
ExecStartPre=/usr/bin/snap run subiquity --ssh
ExecStart=/usr/bin/snap run subiquity --ssh

@ -1,23 +0,0 @@
[Unit]
Description=Subiquity, the installer for Ubuntu Server %I
BindsTo=dev-%i.device
After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service cloud-final.service snapd.seeded.service
After=rc-local.service
ConditionPathExists=!/run/subiquity/complete
StartLimitInterval=0
[Service]
Environment=SNAP_REEXEC=0
ExecStartPre=/bin/systemctl stop serial-getty@%I
ExecStart=/usr/bin/snap run subiquity.subiquity-service %I
ExecStopPost=/bin/systemctl start serial-getty@%I
Type=idle
Restart=always
RestartSec=0
UtmpIdentifier=%I
TTYPath=/dev/%I
TTYReset=yes
TTYVHangup=yes
KillMode=process
IgnoreSIGPIPE=no
SendSIGHUP=yes

@ -1,7 +1,6 @@
[Unit]
IgnoreOnIsolate=yes
After=systemd-user-sessions.service plymouth-quit-wait.service snap.seeded.service
ConditionPathExists=!/run/subiquity/complete
[Service]
Environment=SNAP_REEXEC=0

Loading…
Cancel
Save