purge snapd for 20.04

This commit is contained in:
Jack Ivanov 2020-05-09 22:17:00 +03:00
parent cebd7c3960
commit 5d500cb265

View file

@ -24,7 +24,10 @@ lxc profile set default raw.lxc lxc.aa_profile=unconfined
lxc profile set default security.privileged true lxc profile set default security.privileged true
lxc profile show default lxc profile show default
lxc launch ubuntu:${UBUNTU_VERSION} algo lxc launch ubuntu:${UBUNTU_VERSION} algo
if [[ ${UBUNTU_VERSION} == "20.04" ]]; then
lxc exec algo -- apt remove snapd --purge -y || true lxc exec algo -- apt remove snapd --purge -y || true
fi
ip addr ip addr