Show IP on VM startup
This commit is contained in:
1 parent
68a62c851a
commit
8ef7b0ba1a
1 file changed
+9
-2
+9
-2
@@ -1,4 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "BOOOOOOOT!"
|
||||
echo "boot..."
|
||||
IP=`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print \$1}'`
|
||||
|
||||
echo
|
||||
echo
|
||||
echo " De Security Workshop VM is nu opgestart"
|
||||
echo " Ga met je browser naar deze URL:"
|
||||
echo
|
||||
echo " \033[0;32mhttp://$IP/\033[0m"
|
||||
echo
|
||||
Reference in new issue
Block a user