12 lines
205 B
Bash
12 lines
205 B
Bash
|
#!/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/
|