Skip to content

Instantly share code, notes, and snippets.

@swiftgaruda
Created August 21, 2021 11:14
Show Gist options
  • Save swiftgaruda/e716328fe9746146a9bfd2d35a91758e to your computer and use it in GitHub Desktop.
Save swiftgaruda/e716328fe9746146a9bfd2d35a91758e to your computer and use it in GitHub Desktop.
Scaleway Ubuntu 20.04 tweaks
# List all installed snaps
snap list
# Remove preinstalled snaps
snap remove lxd
snap remove core18
snap remove snapd
# Remove snap leftovers
rm -rf ~/snap /var/cache/snapd
# Remove packages
apt-get autoremove -V --purge snapd tmux screen ntfs-3g lxd-agent-loader byobu ufw
apt-get autoremove -V --purge
# Mask systemd units
systemctl mask boot.automount
systemctl mask boot.mount
systemctl mask tmp.mount
systemctl mask auditd.service
systemctl mask connman.service
systemctl mask console-screen.service
systemctl mask display-manager.service
systemctl mask fcoe.service
systemctl mask fwupd-refresh.service
systemctl mask fwupd.service
systemctl mask iscsi-shutdown.service
systemctl mask iscsid.service
systemctl mask kbd.service
systemctl mask lvm2-activation-early.service
systemctl mask lvm2-activation.service
systemctl mask lvm2-lvmpolld.service
systemctl mask lvm2-monitor.service
systemctl mask netplan-ovs-cleanup.service
systemctl mask networking.service
systemctl mask NetworkManager.service
systemctl mask open-iscsi.service
systemctl mask ovsdb-server.service
systemctl mask rbdmap.service
systemctl mask snapd.seeded.service
systemctl mask sshd-keygen.service
systemctl mask ufw.service
systemctl mask whoopsie.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment