How to NOT install snapd / lxd with autoinstaller
Bug #1968199 reported by
sascha arthur
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
Noticed that using autoinstaller force installs lxd/snapd during the installation (at least in jammy it happens, maybe others affected as well).
Tried to remove it in a last step, but this seems to fail. Apt is not running properly because its chrooted.
How to prevent that lxd/snapd is installed into the target server?
I dont want to have the lxd / snapd interfaces and related stuff on my servers..
To post a comment you must log in.
A minimal install does not have either of those (this is an option available in 21.10 and will be in jammy). Otherwise there's no very easy way to do this, perhaps "curtin in-target -t /target apt purge snapd" in a late-command will do it.