Skip to content

Instantly share code, notes, and snippets.

@geekman geekman/remove-cruft.sh
Last active Apr 9, 2019

Embed
What would you like to do?
script to remove cruft from Ubuntu post-install
#!/bin/sh
# run as root
apt remove cloud-init unattended-upgrades popularity-contest landscape-common update-manager-core
apt autoremove
# disable upgrade units & timers
systemctl disable --now apt-daily{,-upgrade}.{timer,service}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.