mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-05 23:21:34 +00:00
Stop trying to extract autoinstall config during boot, subiquity will do it instead.
This commit is contained in:
parent
cc70b57026
commit
7f09a42d85
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
livecd-rootfs (2.653) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Stop trying to extract autoinstall config during boot, subiquity will do
|
||||||
|
it instead.
|
||||||
|
|
||||||
|
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Mon, 09 Mar 2020 22:31:06 +1300
|
||||||
|
|
||||||
livecd-rootfs (2.652) focal; urgency=medium
|
livecd-rootfs (2.652) focal; urgency=medium
|
||||||
|
|
||||||
* Switch to using the generic pi gadget repo for classic builds. Use the
|
* Switch to using the generic pi gadget repo for classic builds. Use the
|
||||||
|
@ -117,15 +117,3 @@ system_info:
|
|||||||
primary: http://ports.ubuntu.com/ubuntu-ports
|
primary: http://ports.ubuntu.com/ubuntu-ports
|
||||||
security: http://ports.ubuntu.com/ubuntu-ports
|
security: http://ports.ubuntu.com/ubuntu-ports
|
||||||
ssh_svcname: ssh
|
ssh_svcname: ssh
|
||||||
|
|
||||||
runcmd:
|
|
||||||
- - "python3"
|
|
||||||
- "-c"
|
|
||||||
- |
|
|
||||||
import subprocess, sys, yaml
|
|
||||||
user_data = yaml.safe_load(subprocess.run([
|
|
||||||
"cloud-init", "query", "userdata"],
|
|
||||||
check=True, stdout=subprocess.PIPE, encoding='utf-8').stdout)
|
|
||||||
if user_data is not None and 'autoinstall' in user_data:
|
|
||||||
with open("/autoinstall.yaml", "w") as fp:
|
|
||||||
yaml.dump(user_data['autoinstall'], fp)
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
IgnoreOnIsolate=yes
|
IgnoreOnIsolate=yes
|
||||||
After=systemd-user-sessions.service plymouth-quit-wait.service cloud-final.service snapd.seeded.service
|
After=systemd-user-sessions.service plymouth-quit-wait.service snap.seeded.service
|
||||||
ConditionPathExists=!/run/subiquity/complete
|
ConditionPathExists=!/run/subiquity/complete
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user