From b19f90196061eb10df8222a31d5c2b19286bf26a Mon Sep 17 00:00:00 2001 From: Paul Wagener Date: Fri, 3 Jan 2014 14:01:50 +0000 Subject: [PATCH] Automatic refreshing of repository on each boot --- build-vm/boot.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-vm/boot.sh b/build-vm/boot.sh index 153de21..77b2f30 100755 --- a/build-vm/boot.sh +++ b/build-vm/boot.sh @@ -1,4 +1,7 @@ #!/bin/sh +echo +cd /home/security/workshop +git pull origin master IP=`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print \$1}'`