Add cleanup script
Add numbering order to shell scripts
This commit is contained in:
parent
e60788c471
commit
23eefd406c
11
99-cleanup.sh
Normal file
11
99-cleanup.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/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/
|
Loading…
Reference in New Issue
Block a user