Chris Peterson
b94a944e80
ubuntu-server: remove openssh-server (LP: #1974483 )
...
ssh-import-id is part of the server-minimal task, which means it and
openssh-server are always installed by Subiquity regardless of user
choice. Since we can't update the Task headers post release,
ensure that openssh-server, openssh-sftp-server, and ssh-import-id
are not included in the minimal and full layers by purging them
in a dedicated hook.
5 months ago
Loïc Minier
a692ec8549
Add support for tegra-igx (similar to tegra)
7 months ago
Łukasz 'sil2100' Zemczak
071611b708
Merge branch 'jammy-64k' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/jammy
11 months ago
Łukasz 'sil2100' Zemczak
7d5a370ffe
Add a largemem subarch that ships a 64k kernel variant by default.
11 months ago
Philip Roche
8f8415e1dc
fix: Always use `dpkg-divert` instead of altering files maintained by packages
...
Altering a file maintained by a package can lead to unexpected behaviou expecially in
this case where packages are being removed and added.
Instead use `dpkg-divert` to allow us to mock `lxd` to `true` to allow `unminimize` to work
without error and to avoid installing of the `lxd` snap.
11 months ago
Philip Roche
6ad70d64a5
fix: When using `rm` do not use `--force` when not required
...
`--force` implies that we wish not to fail `rm` even if the file is not present.
This was not our intention and as such can be removed.
Also use short option `-v` for verbose output as per the test of the code base.
11 months ago
Philip Roche
d97514cba0
fix: Improve comments for case when lxd-installer package is not installed
...
Improve confusing comments for case when lxd-installer package is not installed.
This was worded confusingly
11 months ago
Philip Roche
c09d4c1652
fix: Only use single brackets for if statements
...
Double brackets are not required and do not follow the uses elsewhere in this code base
11 months ago
Philip Roche
34dea62ef0
fix: Fix calls to `unminimize` if lxd-installer package not present (LP: #2049723 )
...
The unminimize script will try to install the lxd snap using the shim script
`/usr/sbin/lxd` from the lxd-installer package.
Previously `unminimize` was using `snap`
to install `lxd` directly which was being diverted by diverting the `snap` command.
This is no longer the case so we can remove `/usr/sbin/lxd` from the lxd-installer package
if it exists and then redirect any calls to `/usr/sbin/lxd` to `/bin/true`.
11 months ago
Michael Hudson-Doyle
59732bc789
Remove additional dependencies from subiquity units as they are now interfering with the boot process. (LP: #2028862 )
...
(cherry picked from commit 4f6f63dd6b
)
1 year ago
Loïc Minier
35fef6becf
Initial support for NVIDIA Tegra
...
live-build/auto/config:
- for Ubuntu Server live images and the arm64+tegra full arch, build a
tegra variant with linux-nvidia-tegra as the flavor and
linux-nvidia-tegra as the kernel meta-package
- default to nvidia-$SUBARCH as the kernel flavor and enable all
components for all images using arm64+tegra as full arch
hooks/03-kernel-metapkg.chroot_early:
- use linux-nvidia-tegra as kernel meta-package for the nvidia-tegra
flavor
2 years ago
Łukasz 'sil2100' Zemczak
2075062139
Enable building intel-iot live-server images.
2 years ago
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.
3 years ago
Michael Hudson-Doyle
391439d44c
Record information about locale support (in particular, whether to install langpacks and which languages have pre-baked squashfses).
3 years ago
Michael Hudson-Doyle
543c40b347
Merge branch 'source-catalog-2' into ubuntu/master
3 years ago
Michael Hudson-Doyle
021c8e063c
better minimal ubuntu server description
3 years ago
Michael Hudson-Doyle
cda8c920dd
create source catalogs for live server install sources
3 years ago
Michael Hudson-Doyle
b341c81ff3
do the mounting in an initrd script rather than systemd units
3 years ago
Michael Hudson-Doyle
5fda0bb2aa
apply dpkg minimizations to minimal layer, and undo them for full layer
3 years ago
Michael Hudson-Doyle
5232f2f8cc
fix /media/filesystem mount
3 years ago
Michael Hudson-Doyle
d11c71a686
add a minimal server layer under the full server layer
3 years ago
Michael Hudson-Doyle
bb0bba1793
address review comments
4 years ago
Michael Hudson-Doyle
fc890b15e7
adjust hooks for move of live-server to layers
4 years ago
Michael Hudson-Doyle
e06046aaa0
move includes around for move of live-server to layers
4 years ago
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.
4 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