Michael Hudson-Doyle
093fbb1404
Merge branch 'more-subiquity-serial-pain' into ubuntu/master
4 years ago
Michael Hudson-Doyle
48c3a11a70
Make sure the process that prints SSH connection info on s390x has its output connected to the console. (LP: #1933523 )
4 years ago
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.
4 years ago
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.
4 years ago
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 )
4 years ago
Michael Hudson-Doyle
e1e992d295
Fix overriding of ExecStart in serial-getty@sclp_line0.service.d/subiquity-serial.conf.
4 years ago
Michael Hudson-Doyle
7cd7f1e0bf
Merge branch 'ubuntu/master' into live-server-serial-argh
4 years ago
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
4 years ago
Michael Hudson-Doyle
c1cb61a8f6
just plain mask getty@tty1, ExecStart is a list
4 years ago
Michael Hudson-Doyle
7ba371b315
Simplify how serial-getty@.service is customized in the live server installer environment.
4 years ago
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.
4 years ago
Michael Hudson-Doyle
d5bc59f2fb
Use the correct config keys in suppressing cloud-init output during boot of live server ISO.
4 years ago
Michael Hudson-Doyle
8ab15a145d
set new cloud-init option to suppress final bit of output during boot
4 years ago
Michael Hudson-Doyle
52c8985454
Suppress cloud-init output during boot of live server ISO.
4 years ago
Michael Hudson-Doyle
b677bdbcc6
Remove 68-del-part-nodes.rules from installer squashfs to work around it breaking curtin. (LP: #1893818 )
4 years ago
Steve Langasek
37f5f8881f
Revert "Revert "Remove fstab from squashfs images""
...
This reverts commit d9de270189
.
4 years ago
Steve Langasek
d9de270189
Revert "Remove fstab from squashfs images"
...
This reverts commit f96e874ed1
.
4 years ago
Dimitri John Ledkov
6e6ab16bf2
live-server: remove duplicate snaps, due to overlayfs vs snap-preseed.
5 years ago
Balint Reczey
f96e874ed1
Remove fstab from squashfs images
...
The default fstab is not valid, since squashfs does not support labels.
LP: #1877078
5 years ago
Dimitri John Ledkov
a21a67ab52
Print subiquity ssh login details on s390x line based consoles.
5 years ago
Dimitri John Ledkov
0415e42026
server: networkd applies the first sorted matching network file, thus prefix 'all' fallback networks with 'zz-'.
5 years ago
Michael Hudson-Doyle
7f09a42d85
Stop trying to extract autoinstall config during boot, subiquity will do it instead.
5 years ago
Michael Hudson-Doyle
6e68a3f13c
Do not start subiquity until cloud-final and snapd.seeded have completed.
5 years ago
Michael Hudson-Doyle
49e550fb9e
Fix autoinstall-extracting runcmd in the case no user-data is passed.
5 years ago
Michael Hudson-Doyle
187fd01c37
re-add scripts-user to cloud_final_modules
5 years ago
Michael Hudson-Doyle
c969c8e4b9
add runcmd to copy autoinstall from user-data to /autoinstall.yaml
5 years ago
Michael Hudson-Doyle
0dc12a1122
remove stuff for copying autoinstall files around
5 years ago
Michael Hudson-Doyle
f6e5da24f9
enable cloud-init in live session on all architectures
5 years ago
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
5 years ago
Dimitri John Ledkov
3b1047fbc2
Configure a better nocloud datasource for subiquity cloud-init.
5 years ago
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
5 years ago
Michael Hudson-Doyle
1be2ba1779
oops
5 years ago
Michael Hudson-Doyle
547eb7bda8
copy /autoinstall.yaml in initrd to /run/initrd-autoinstall.yaml if present
5 years ago
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.
5 years ago
Dimitri John Ledkov
f918cd5eb1
Subiquity: install linux-firmware in the installer layer, to make firmware blobs available in the live session. LP: #1847835
5 years ago
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.
5 years ago
Dimitri John Ledkov
095c8f4696
Install s390-tools-zkey into the installer layer for zkey support in subiquity.
6 years ago
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.
6 years ago
Dimitri John Ledkov
67b26519bc
Drop trying to mount removed maas squashfs.
6 years ago
Dimitri John Ledkov
9d7b6a8e7e
Drop maas hook from server-live.
6 years ago
Dimitri John Ledkov
aa58b069ed
Set executable bit on kernel-bits.binary
6 years ago
Dimitri John Ledkov
ba49d6db5f
Use snap-tool to seed subiquity snap.
6 years ago
Dimitri John Ledkov
d13964805e
Fix ubuntu-server-live images to generate initrd with casper UUID. Whilst configs are sources, the variables are not exported into the environment by default. Thus when casper hook is executed, it had no idea that it should generate UUID.
6 years ago
Dimitri John Ledkov
036d7d2949
Make serial-subiquity@ use the same codepath as tty1 subiquity.
...
Such that subiquity runs in the correct environment.
Depends on: https://github.com/CanonicalLtd/subiquity/pull/428
6 years ago
Dimitri John Ledkov
1ab438750d
Revert "subiquity: fix name of mdoules.squashfs to mount"
...
This reverts commit 98e0b1031d
.
6 years ago
Dimitri John Ledkov
98e0b1031d
subiquity: fix name of mdoules.squashfs to mount
...
ubuntu-cdimage/debian-cd/tools/add_live_filesystem helpfully adds a
'filesystem.' prefix to the squashfs, hence the name of the file
didn't match what's on disk.
6 years ago
Dimitri John Ledkov
37d9b77b95
subiquity: make subiqutiy_config.mount optional
...
Remove wants from local-fs.target, add wants from the uuid device instead.
Tested by applying these changes from pre-pivot-root by modifying
/root files in place whilst booting with break=bottom.
6 years ago
Michael Hudson-Doyle
625ace8483
Do not include curtin in the live-server installer.squashfs as the version of subiquity that includes it in the snap has now been released to stable.
6 years ago
Michael Hudson-Doyle
1b93df3ae8
A few simple tweaks to reduce size of live servers installer.squashfs
...
- Do not run apt-get update (which can bring in package lists if we are
unlikely wrt publisher schedules).
- Run apt-get clean to clear out downloaded debs of curtin/casper and
dependencies.
- Do not install user-setup.
- Use the core snap from the base filesystem if present.
6 years ago
Michael Hudson-Doyle
1e9fc65863
Use right lsb_release argument for HWE kernel name (-sc -> bionic, need -sr -> 18.04).
6 years ago