In our case we decided to spend the same effort on orchestrating for images:ubuntu/focal/cloud (which comes without snapd) rather than working around issues with snap on the thicker default image.
But the workaround above can be used, and I remember it was documented elsewhere on launchpad or maybe askubuntu. Going back on our git I can see the following (YMMV):
In our case we decided to spend the same effort on orchestrating for images: ubuntu/ focal/cloud (which comes without snapd) rather than working around issues with snap on the thicker default image.
But the workaround above can be used, and I remember it was documented elsewhere on launchpad or maybe askubuntu. Going back on our git I can see the following (YMMV):
# Remove snapd
snap remove lxd
snap remove core18
snap remove snapd
umount /snap/
rm -rf ~/snap /snap /var/snap /var/lib/snapd
apt-get purge snapd