summaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/system-upgrade3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/system-upgrade b/share/hydractl/system-upgrade
index 1ffdf34..b5f374c 100755
--- a/share/hydractl/system-upgrade
+++ b/share/hydractl/system-upgrade
@@ -50,12 +50,13 @@ echo "Updating package listing..."
apt-get update
echo ""
echo "Downloading packages..."
-apt-get dist-upgrade -d
+apt-get dist-upgrade -d -y
# Upgrade the system
echo ""
echo "Upgrading the system..."
apt-get dist-upgrade
+apt-get autoremove
# Enable puppet again
echo ""