From aaad9787db214216242de3cfcd62f1217e3642c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moise=CC=81s=20Guimara=CC=83es?= Date: Mon, 23 Nov 2015 09:19:33 -0300 Subject: [PATCH] updates box version to trusty64; fixes provisioning errors; --- Vagrantfile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index aef42caf7..ddf37ce83 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -17,10 +17,10 @@ cd $LIB.$VER/ && ./autogen.sh && ./configure -q && make -s sudo make install && cd .. && rm -rf $LIB.$VER* -SRC=vagrant DST=wolfssl -cp -rp /$SRC/ $DST/ +cp -rp /vagrant/ $DST/ +chown -hR vagrant:vagrant $DST/ echo "cd $DST" >> .bashrc echo "read -p 'Sync $DST? (y/n) ' -n 1 -r" >> .bashrc @@ -30,20 +30,13 @@ echo " echo -e '\e[0;32mRunning $DST sync\e[0m'" >> .bashrc echo " ./pull_to_vagrant.sh" >> .bashrc echo "fi" >> .bashrc -cd $DST -./autogen.sh -./configure -make check - -cd .. -chown -hR vagrant:vagrant $DST/ /tmp/output SCRIPT VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - config.vm.box = "hashicorp/precise64" + config.vm.box = "ubuntu/trusty64" config.vm.provision "shell", inline: $setup config.vm.network "forwarded_port", guest: 11111, host: 33333