Last active
April 9, 2019 15:52
-
-
Save geekman/f093247d04d1e029b2a2ce53cc94733b to your computer and use it in GitHub Desktop.
script to remove cruft from Ubuntu post-install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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