vm: Remove SSH keychain load-on-boot script
This commit is contained in:
committed by
Bob Lantz
parent
71ba12c539
commit
7abca147c4
@@ -265,6 +265,7 @@ function vm_clean {
|
||||
|
||||
# Remove sensistive files
|
||||
history -c
|
||||
rm ~/.bash_history # history -c doesn't seem to work for some reason
|
||||
rm -f ~/.ssh/id_rsa* ~/.ssh/known_hosts
|
||||
sudo rm ~/.ssh/authorized_keys2
|
||||
|
||||
@@ -272,6 +273,9 @@ function vm_clean {
|
||||
#sudo rm -f /lib/modules/python2.5/site-packages/mininet*
|
||||
#sudo rm -f /usr/bin/mnexec
|
||||
|
||||
# Clear optional dev script for SSH keychain load on boot
|
||||
rm ~/.bash_profile
|
||||
|
||||
# Clear git changes
|
||||
git config --global user.name "None"
|
||||
git config --global user.email "None"
|
||||
|
||||
Reference in New Issue
Block a user