Closed gmacario closed 8 years ago
NOTE: Reproduced on the current tip of the master
branch
C:\Users\gmacario\franca_install_automation>git show
commit 7f1e6fd2c4dd37900417cee6fdcce97695547b29
Author: Gunnar Andersson <gand@acm.org>
Date: Mon Aug 22 18:03:00 2016 +0200
Export the VM name
diff --git a/Vagrantfile b/Vagrantfile
index 4436079..086871e 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -61,6 +61,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
vb.customize [ "modifyvm", :id, "--vram", "128" ]
end
+ # Export the VM name (need to know the name of the artifact when creating automated build)
+ ENV['VMNAME'] = vmname
+ config.vm.provision :shell, inline:
+ "echo #{VMNAME} >>/vagrant/VMNAME"
+
# Make sure proxy settings affect also sudo commands
# (by default the environment is cleared for sudo)
config.vm.provision :shell, inline:
C:\Users\gmacario\franca_install_automation>
Sorry, this has been fixed but apparently not on master. I'll update it shortly.
Closing issue after realizing that https://github.com/gunnarx/franca_install_automation is no longer supported
Tested on ITM-GPAOLO-W10
Start a command prompt and clone repository
Change directory and type
vagrant up