File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 32
32
33
33
34
34
# Remove all the packages we don't need
35
- sudo apt purge -y --purge snapd cloud-guest-utils cloud-init apport apport-symptoms cryptsetup cryptsetup-bin cryptsetup-initramfs curl gdisk lxd-installer mdadm open-iscsi snapd squashfs-tools ssh-import-id wget xauth unattended-upgrades update-notifier-common python3-update-manager unattended-upgrades needrestart command-not-found cron lxd-agent-loader modemmanager motd-news-config pastebinit packagekit
35
+ sudo apt purge -y --purge snapd cloud-guest-utils cloud-init apport apport-symptoms cryptsetup cryptsetup-bin cryptsetup-initramfs curl gdisk lxd-installer mdadm open-iscsi snapd squashfs-tools ssh-import-id wget xauth update-notifier-common python3-update-manager unattended-upgrades needrestart command-not-found cron lxd-agent-loader modemmanager motd-news-config pastebinit packagekit
36
36
sudo systemctl daemon-reload
37
37
sudo apt autoremove -y --purge
38
38
@@ -41,7 +41,7 @@ sudo apt update
41
41
42
42
sudo apt install psmisc -y
43
43
44
- # on some versions killall might be missing. Please insta
44
+ # on some versions killall might be missing. Please install then
45
45
sudo killall unattended-upgrade-shutdown
46
46
47
47
sudo apt upgrade -y
@@ -119,7 +119,7 @@ echo 0 | sudo tee /proc/sys/kernel/watchdog_thresh
119
119
sudo rm /etc/update-motd.d/*
120
120
121
121
# Remove all cron files. Cron shouldn't be running anyway but just to be safe
122
- rm -R /etc/cron*
122
+ sudo rm -R /etc/cron*
123
123
124
124
sudo apt autoremove -y --purge
125
125
You can’t perform that action at this time.
0 commit comments