Changed the Vagrantfile to contain the correct release name

Deleted the Vagrant files for setting up dev environment, today it is
easy to setup the dev environment yourself to start working.
This commit is contained in:
nbaars
2018-01-09 12:42:57 +01:00
parent a9ac00a075
commit ae92ac6808
4 changed files with 4 additions and 146 deletions

View File

@ -19,17 +19,17 @@ Vagrant.configure(2) do |config|
end
config.vm.provision "shell", inline: <<-SHELL
wget https://github.com/WebGoat/WebGoat/releases/download/v8.0.0.M5/webgoat-server-8.0.0.M6.jar
wget https://github.com/WebGoat/WebGoat/releases/download/v8.0.0.M5/webwolf-8.0.0.M6.jar
wget https://github.com/WebGoat/WebGoat/releases/download/v8.0.0.RELEASE/webgoat-server-8.0.0.RELEASE.jar
wget https://github.com/WebGoat/WebGoat/releases/download/v8.0.0.RELEASE/webwolf-8.0.0.RELEASE.jar
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jre -y
SHELL
config.vm.provision "shell", run: "always", privileged: false, inline: <<-SHELL
java -jar webgoat-server-8.0.0.M6.jar &
java -jar webgoat-server-8.0.0.RELEASE.jar &
sleep 40s
java -jar webwolf-8.0.0.M6.jar
java -jar webwolf-8.0.0.RELEASE.jar
SHELL
end