20 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
c27dbda4ca 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)
2021-07-23 12:07:26 +12:00
Dimitri John Ledkov
0415e42026 server: networkd applies the first sorted matching network file, thus prefix 'all' fallback networks with 'zz-'. 2020-04-03 12:59:05 +01:00
Michael Hudson-Doyle
7f09a42d85 Stop trying to extract autoinstall config during boot, subiquity will do it instead. 2020-03-10 10:42:32 +13:00
Michael Hudson-Doyle
49e550fb9e Fix autoinstall-extracting runcmd in the case no user-data is passed. 2020-03-05 15:36:19 +01:00
Michael Hudson-Doyle
187fd01c37 re-add scripts-user to cloud_final_modules 2020-03-04 09:24:18 +01:00
Michael Hudson-Doyle
c969c8e4b9 add runcmd to copy autoinstall from user-data to /autoinstall.yaml 2020-03-03 15:08:52 +01:00
Michael Hudson-Doyle
f6e5da24f9 enable cloud-init in live session on all architectures 2020-03-03 15:08:45 +01:00
Dimitri John Ledkov
d7045b2e09 Fixup subiquity:
- drop ds-identify policy, not needed with improved cloud config
  - drop disabling network, doesn't work with ip=
  - fixup setting up the INSTALLER_ROOT mountpoint
2020-02-10 23:50:03 +00:00
Dimitri John Ledkov
3b1047fbc2 Configure a better nocloud datasource for subiquity cloud-init. 2020-02-07 22:11:54 +00:00
Dimitri John Ledkov
e062389eb9 * On s390x subiquity:
- enable cloud-init
  - make cloud-init handle the default/baked in networking configuration
  - install and enable openssh-server for the installation only
  - provide cloud.cfg that generates random installer user password
  - disable subiquity on sclp_line0 line based console
2020-01-29 14:16:00 +00:00
Michael Hudson-Doyle
ae4a760edb Fix live-server journald config snippet to actually disable journald rate
limiting.
2018-08-28 10:55:19 +12:00
Michael Hudson-Doyle
c9aaddd56a Disable journald rate limiting in the live-server live session.
(LP: #1776891)
2018-06-15 14:36:24 +12:00
Michael Hudson-Doyle
4bee7b1898 remove "optional: true" from 00-installer-config.yaml 2018-05-22 11:42:39 +12:00
Dimitri John Ledkov
8d5af150cd Make subiquity installer boot quicker, by making dhcp interfaces
optional, such that wait-online is not blocking bringing up the
installer UI.
2018-04-03 14:56:34 +01:00
Michael Hudson-Doyle
a5a4f4e0d8 * Rename the directory containing the systemd override file for subiquity to
the correct name :/
* Add Environment=SNAP_REEXEC=0 to the above override file.
* Remove the snap.subiquity.started overrides, that service is long gone.
2018-03-15 13:22:22 +13:00
Michael Hudson-Doyle
a7f8044a85 Disable the snapd.refresh.timer in the live server session. 2018-02-08 13:43:36 +13:00
Steve Langasek
bea8a0696e snap.subiquity.started.service must be RemainAfterExit=yes to satisfy
the service dependencies.
2017-10-12 09:23:44 -04:00
Steve Langasek
9f040f0481 Fix wrong variable name in systemd unit snippets. 2017-10-11 18:24:19 -04:00
Steve Langasek
857f1984c9 export SNAP_REEXEC=0 to our snappy systemd units in the livefs overlay,
to work around apparmor not working reliably against aufs.
2017-10-11 12:46:10 -04:00
Michael Hudson-Doyle
9802843885 make file paths a bit less comical 2017-09-19 19:18:09 +12:00