autoinstall-desktop
autoinstall-desktop copied to clipboard
apt remove ubuntu-server
Per documentation "curtin in-target -- apt-get remove -y ubuntu-server" will remove the cryptsetup! If the OS was installed with LUKS encryption, this command will make the OS unbootable as no cryptsetup to decrypt the disk.... As a result fault state of OS
If it's any help, to use LUKS I simply reinstalled all the packages removed by ubuntu-server as part of the late-commands in the autoinstall config
- curtin in-target -- apt-get install -y cloud-init cryptsetup lvm2 btrfs-progs xfsprogs
Good one! However, since the base installation is server, removing this package can break other things as well, no?
It shouldn't break anything else, I'm currently using it with LUKS and Ubuntu Desktop and having no issues
I've verified, all clear. Thanks, @charlie-haley ! Moving to prod :)