Skip to content

Commit

Permalink
Cleanup VSM dependency repos and apt configuration on uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Dowell authored and Ryan Dowell committed Apr 21, 2016
1 parent b792431 commit 89e8a41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ubuntu14/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ fi
sudo apt-get autoremove --yes
sudo apt-get autoclean --yes
sudo rm -rf /etc/vsm /etc/vsm-dashboard /etc/vsmdeploy /var/lib/vsm /var/log/vsm
sudo rm -rf /opt/vsmrepo /opt/vsm-dep-repo
sudo rm -f /etc/apt/sources.list.d/vsm.list /etc/apt/sources.list.d/vsm-dep.list
EOF
echo "=== Uninstall controller [$1] complete."
}
Expand All @@ -132,6 +134,8 @@ fi
sudo apt-get autoremove --yes
sudo apt-get autoclean --yes
sudo rm -rf /var/lib/vsm /var/log/vsm /etc/vsm
sudo rm -rf /opt/vsmrepo /opt/vsm-dep-repo
sudo rm -f /etc/apt/sources.list.d/vsm.list /etc/apt/sources.list.d/vsm-dep.list
EOF
echo "=== Uninstall agent [$1] complete."
}
Expand Down

0 comments on commit 89e8a41

Please sign in to comment.