Michael Hudson-Doyle
b2094f0319
Disable compression and "hash table hardening" for journald in the live installer environment as these features make the journal unreadable using the systemd libraries from 20.04 that are included in the subiquity snap.
2022-02-02 13:51:20 +13:00
Michael Hudson-Doyle
391439d44c
Record information about locale support (in particular, whether to install langpacks and which languages have pre-baked squashfses).
2021-09-27 11:06:01 +13:00
Michael Hudson-Doyle
543c40b347
Merge branch 'source-catalog-2' into ubuntu/master
2021-08-18 11:10:01 +12:00
Michael Hudson-Doyle
021c8e063c
better minimal ubuntu server description
2021-08-18 08:15:14 +12:00
Michael Hudson-Doyle
cda8c920dd
create source catalogs for live server install sources
2021-08-17 16:07:07 +12:00
Michael Hudson-Doyle
b341c81ff3
do the mounting in an initrd script rather than systemd units
2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
5fda0bb2aa
apply dpkg minimizations to minimal layer, and undo them for full layer
2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
5232f2f8cc
fix /media/filesystem mount
2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
d11c71a686
add a minimal server layer under the full server layer
2021-08-03 16:36:00 +12:00
Michael Hudson-Doyle
bb0bba1793
address review comments
2021-07-08 11:50:22 +12:00
Michael Hudson-Doyle
fc890b15e7
adjust hooks for move of live-server to layers
2021-07-07 19:31:53 +12:00
Michael Hudson-Doyle
e06046aaa0
move includes around for move of live-server to layers
2021-07-07 19:31:53 +12:00
Michael Hudson-Doyle
093fbb1404
Merge branch 'more-subiquity-serial-pain' into ubuntu/master
2021-07-01 09:46:58 +12:00
Michael Hudson-Doyle
48c3a11a70
Make sure the process that prints SSH connection info on s390x has its output connected to the console. (LP: #1933523 )
2021-07-01 09:31:31 +12:00
Dan Bungert
5b0825a297
Remove custom final_message
...
At this point all of the custom final_message is now obsolete.
Remove it, letting us instead use the default final_message.
Leave a note about the above.
2021-06-29 16:43:19 -06:00
Dan Bungert
bfce7c126f
Remove reference to password for ssh usage
...
This reference to a temporary password being logged for the installer
user for SSH usage is obsolete.
2021-06-28 17:02:10 -06:00
Michael Hudson-Doyle
9a983305ee
Remove assumption in 032-installer-squashfs.binary that all core snaps needed for subiquity are already in the filesystem layer. (LP: #1933352 )
2021-06-24 11:49:21 +12:00
Michael Hudson-Doyle
e1e992d295
Fix overriding of ExecStart in serial-getty@sclp_line0.service.d/subiquity-serial.conf.
2021-06-19 11:44:04 +12:00
Michael Hudson-Doyle
7cd7f1e0bf
Merge branch 'ubuntu/master' into live-server-serial-argh
2021-05-06 10:28:28 +12:00
Michael Hudson-Doyle
c64c81d7fe
remove the workaround for bug #1893818
...
subiquity now contains a version of curtin that can cope with the
partition nodes for a multipathed disk going away
2021-05-05 13:58:56 +12:00
Michael Hudson-Doyle
c1cb61a8f6
just plain mask getty@tty1, ExecStart is a list
2021-04-21 14:54:03 +12:00
Michael Hudson-Doyle
7ba371b315
Simplify how serial-getty@.service is customized in the live server installer environment.
2021-04-21 11:38:41 +12:00
Michael Hudson-Doyle
e28938b482
Do not have cloud-init set the installer user's password to something random during boot, as cloud-init now hides the value it was set to much better. Instead, subiquity will reset the password itself.
2021-03-24 14:09:12 +13:00
Michael Hudson-Doyle
d5bc59f2fb
Use the correct config keys in suppressing cloud-init output during boot of live server ISO.
2021-03-10 12:03:56 +13:00
Michael Hudson-Doyle
8ab15a145d
set new cloud-init option to suppress final bit of output during boot
2021-02-23 11:06:19 +13:00
Michael Hudson-Doyle
52c8985454
Suppress cloud-init output during boot of live server ISO.
2021-02-18 13:08:09 +13:00
Michael Hudson-Doyle
b677bdbcc6
Remove 68-del-part-nodes.rules from installer squashfs to work around it breaking curtin. (LP: #1893818 )
2020-10-15 08:33:23 +13:00
Steve Langasek
37f5f8881f
Revert "Revert "Remove fstab from squashfs images""
...
This reverts commit d9de2701897608710ed97e206ee29f28af8cc82a.
2020-08-27 12:17:22 -07:00
Steve Langasek
d9de270189
Revert "Remove fstab from squashfs images"
...
This reverts commit f96e874ed12e7e080111d27aa14c4f97aa6bec87.
2020-08-12 11:35:06 -07:00
Dimitri John Ledkov
6e6ab16bf2
live-server: remove duplicate snaps, due to overlayfs vs snap-preseed.
2020-07-17 21:17:34 +01:00
Balint Reczey
f96e874ed1
Remove fstab from squashfs images
...
The default fstab is not valid, since squashfs does not support labels.
LP: #1877078
2020-06-16 22:14:59 +02:00
Dimitri John Ledkov
a21a67ab52
Print subiquity ssh login details on s390x line based consoles.
2020-04-16 23:54:27 +01: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
6e68a3f13c
Do not start subiquity until cloud-final and snapd.seeded have completed.
2020-03-06 13:38:52 +01: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
0dc12a1122
remove stuff for copying autoinstall files around
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
1be2ba1779
oops
2019-11-22 13:42:22 +13:00
Michael Hudson-Doyle
547eb7bda8
copy /autoinstall.yaml in initrd to /run/initrd-autoinstall.yaml if present
2019-11-22 13:42:22 +13:00
Michael Hudson-Doyle
377e7b4ddd
mount a filesystem with label autoinstall at /autoinstall for live-server
...
This is one of the ways an autoinstall file can be provided.
2019-11-22 13:42:22 +13:00
Dimitri John Ledkov
f918cd5eb1
Subiquity: install linux-firmware in the installer layer, to make firmware blobs available in the live session. LP: #1847835
2019-10-13 20:53:04 +01:00
Dimitri John Ledkov
4c534bc6be
subiquity: Use LazyUnmount=yes on memorymapped /usr/lib/modules.
...
Subiquity images mount /usr/lib/modules from a squashfs, which systemd
tries to unmount on shutdown, whilst they are still being in use. As
systemd-udevd kmod built-in's libkmod has modules.* files
memorymapped. This produces an warning on shutdown, flooding the
screen with messages as systemd switches to a more verbose
output. Specify LazyUnmount=yes on that mount, such that unmount call
succeeds without flooding the shutdown log.
2019-10-08 19:04:20 +01:00
Dimitri John Ledkov
095c8f4696
Install s390-tools-zkey into the installer layer for zkey support in subiquity.
2019-06-20 23:26:13 +01:00
Steve Langasek
796a89a3c0
Remove dangling symlink /usr/lib/systemd/system/local-fs.target.wants/media-region.lower.mount. It's unclear why this has just started causing build failures, but the symlink should have been removed in 2.592 with the rest of the MAAS stuff.
2019-06-15 11:09:45 -07:00