canonical / autoinstall-desktop

59 stars 18 forks source link

apt remove ubuntu-server #9

Open kirkog86 opened 1 year ago

kirkog86 commented 1 year ago

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

charlie-haley commented 1 year ago

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
kirkog86 commented 12 months ago

Good one! However, since the base installation is server, removing this package can break other things as well, no?

charlie-haley commented 11 months ago

It shouldn't break anything else, I'm currently using it with LUKS and Ubuntu Desktop and having no issues

kirkog86 commented 11 months ago

I've verified, all clear. Thanks, @charlie-haley ! Moving to prod :)