vm_clean: delete keys from from /etc/ssh/ before shipping vm

It's a bad idea for all Mininet VMs to share the same SSH keys.
Certainly users can regenerate their own keys, but it's better
if we don't ship a key and simply regenerate it on boot.
This commit is contained in:
Bob Lantz
2016-01-22 16:02:55 -08:00
parent 0fac568a19
commit 9756c9a392
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ fi
# Install Mininet
time mininet/util/install.sh
# Finalize VM
time mininet/util/install.sh -tc
time mininet/util/install.sh -tcd
# Ignoring this since NOX classic is deprecated
#if ! grep NOX_CORE_DIR .bashrc; then
# echo "export NOX_CORE_DIR=~/noxcore/build/src/" >> .bashrc