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.
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.