diff --git a/build-vm/boot.sh b/build-vm/boot.sh index 96ad4a1..b3173e4 100755 --- a/build-vm/boot.sh +++ b/build-vm/boot.sh @@ -5,6 +5,7 @@ echo cd /home/security/workshop # Update repository +git clean -f git pull origin master # Update Apache configuration @@ -13,6 +14,9 @@ a2dissite 000-default a2ensite security-workshop service apache2 reload +# Update permissions +chmod o+w image/uploads + # Update database echo "Resetting database" mysql -u root < build-vm/database.sql