Michael Hudson-Doyle
a2309c6177
straight backport of change in 2.527 to bionic
2018-05-24 11:51:24 +12:00
Dimitri John Ledkov
f32b6ed261
Clear maas role password
2018-04-19 14:52:39 +01:00
Dimitri John Ledkov
3ed266091c
Ensure MAAS squashfsi are clean of passwords. LP: #1764991 .
2018-04-19 13:29:33 +01:00
Dimitri John Ledkov
466607c590
In subiquity image, mount additional squashfs in /media.
2018-04-11 14:20:18 +02: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
8ece245153
In the live-server build, prevent casper from mounting any existing swap
...
partitions from drives we might later be installing to.
2018-03-15 20:26:00 +13: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
Dimitri John Ledkov
9df3a91e26
ubuntu-server: generate multi-lowerdir overlayfs for
...
maas-rack-controller, and full maas. To be used in subiquity for maas
install options.
2018-03-01 13:33:42 +00:00
Michael Hudson-Doyle
4407aaf1ae
it is config/common, not config/binary, grr
2018-02-23 14:58:03 +13:00
Michael Hudson-Doyle
27eaa9328a
source config/binary in 032-installer-squashfs.binary
2018-02-23 13:38:15 +13:00
Michael Hudson-Doyle
b163743456
call recreate_initramfs with the argument it needs
2018-02-23 09:41:50 +13:00
Michael Hudson-Doyle
416ef912ed
make another possibly more generally useful function
2018-02-23 09:30:29 +13:00
Michael Hudson-Doyle
c85cae9bfe
respond to some review feedback
2018-02-23 09:18:33 +13:00
Michael Hudson-Doyle
d46e397b24
merge trunk
2018-02-22 13:58:12 +13:00
Michael Hudson-Doyle
d1b26ce330
Override JobRunningTimeoutSec to 0s on the .device unit that
...
subiquity_config.mount depends on to avoid a 5s delay on switching to a
new VT when there is no device there (LP: #1750117 )
2018-02-20 15:22:43 +13:00
Michael Hudson-Doyle
b01a9b0d7a
leave getty@tty1 in a state where it can be re-enabled
2018-02-13 14:53:10 +13:00
Michael Hudson-Doyle
62a6e6270f
shuffle subiquity service definition to a mix of a snapd-generated service file (not in this branch) and an overlay (in this branch)
2018-02-09 15:08:51 +13:00
Michael Hudson-Doyle
a7f8044a85
Disable the snapd.refresh.timer in the live server session.
2018-02-08 13:43:36 +13:00
Michael Hudson-Doyle
6ca49ecf0f
remove some commented out gunk from .service files
2018-01-31 21:41:32 +13:00
Michael Hudson-Doyle
ec1f465e2c
fix path in serial-subiquity@.service
2018-01-16 13:14:46 +13:00
Michael Hudson-Doyle
2ebe4ec60d
run subiquity on the serial console
2018-01-15 14:56:49 +13:00
Michael Hudson-Doyle
7c1c7a80c2
enable networkd for live-server systems
...
the logic for doing this is the same as why it is done for cloud-images, for which
see http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk/revision/1520
I think this behaviour is a bug in cloud-init (see lp:#1737630) but this is a good
workaround in the mean time
2017-12-21 11:00:22 +13:00
Michael Hudson-Doyle
3ecbd2802e
tweaks before review
2017-12-13 22:32:22 +13:00
Michael Hudson-Doyle
8c8b16b5e6
sigh
2017-12-13 19:27:37 +13:00
Michael Hudson-Doyle
0113b9aad7
self-review
2017-12-13 16:13:14 +13:00
Michael Hudson-Doyle
b913dcdf1c
gen the initramfs with the right options and repack it with lzma
2017-12-13 15:42:37 +13:00
Michael Hudson-Doyle
6ddf832b20
slimy hack to get a casper-ized initrd in place
2017-12-13 10:07:14 +13:00
Michael Hudson-Doyle
26753602fe
Move casper from filesystem.squashfs to installer.squashfs.
2017-12-12 23:29:59 +13:00
Michael Hudson-Doyle
e0809e31f6
Automount a partition of fixed UUID for giving subiquity canned answers.
2017-11-17 15:08:15 +13:00
Michael Hudson-Doyle
1a99680334
Remove snap.subiquity.started from subiquity's After=/Requires= as it
...
does not fix the race condition they were intended to address and causes
subiquity to be killed when snapd refreshes subiquity (LP: #1724411 )
2017-10-18 13:26:08 +13:00
Michael Hudson-Doyle
895e2a51f1
Seed the subiquity snap to track the stable channel (LP: #1724410 )
2017-10-18 13:23:45 +13:00
Steve Langasek
e53ad3b354
Fix server live image to pull subiquity from the stable channel, not
...
from edge.
2017-10-15 13:44:54 -07: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
f58957acd6
Add the SNAP_REEXEC=0 enviroment to the subiquity service as well.
2017-10-12 00:32: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
c9128a31e3
add snap.subiquity.started.service to subiquity.service's Requires=
2017-10-09 15:07:56 +13:00
Michael Hudson-Doyle
81f44354e3
Merge lp:~mwhudson/livecd-rootfs/subiquity-ordering
2017-10-06 10:06:28 +13:00
Steve Langasek
d18cb38c4e
Merge lp:~xnox/livecd-rootfs/drop-harmful-resolv-fixes
2017-10-05 09:06:29 -07:00
Michael Hudson-Doyle
b5638379a4
Have subiquity.service order after on a service defined by the subiquity
...
snap, which in turn will order after the job that mounts the subiquity
snap. (LP: #1721414 )
2017-10-05 21:39:24 +13:00
Steve Langasek
12b07ae5af
move snap assertion handling into the generic build script (and, in
...
the process, from the subiquity overlay to the base squashfs).
2017-10-03 15:50:06 -07:00
Steve Langasek
e1ac04f887
ubuntu-server: drop hard-coded test key from the subiquity overlay in
...
favor of the generic-classic assertion from the store.
2017-10-03 15:33:16 -07:00
Dimitri John Ledkov
35e801f00a
Drop obsolete fix-ups of resolv.conf, debootstrap should now result in
...
correct symlink to resolved without any further fixes.
2017-10-02 14:29:52 +01:00
Michael Hudson-Doyle
a8344ad249
update path again
2017-09-29 16:59:33 -04:00
Michael Hudson-Doyle
c643176917
fix path to subiquity-loadkeys
2017-09-29 08:45:02 -04:00
Michael Hudson-Doyle
8d43597228
add ExecStartPre=/usr/bin/subiquity-loadkeys to subiquity.service
...
This makes shift-tab work
2017-09-25 15:03:18 -04:00
Michael Hudson-Doyle
61764acade
only show alert (i.e. panic) kernel messages on the console when subiquity is running
...
otherwise we get spam when probing for block devices and not finding any floppy
drives...
2017-09-20 11:59:57 +12:00
Michael Hudson-Doyle
9802843885
make file paths a bit less comical
2017-09-19 19:18:09 +12:00
Michael Hudson-Doyle
4941d4ee14
move default netplan to where the hook will pick it up
...
(i hope)
2017-09-18 10:47:06 +12:00
Steve Langasek
03d7dff3ff
Merge lp:~mwhudson/livecd-rootfs/default-netplan-for-server-live
2017-09-13 18:04:33 -07:00