Spotter-VM/99-cleanup.sh

12 lines
205 B
Bash
Raw Normal View History

#!/bin/bash
# Remove packages not necessary for release
apt-get -y purge git openssh-server
apt-get -y --purge autoremove
# Clean package cache
apt-get -y clean
# Remove SSH settings
rm -rf /root/.ssh/