From 60ac93e4aca323e131be24d87e98537241c2b9f9 Mon Sep 17 00:00:00 2001 From: Andrew Diller Date: Wed, 7 Nov 2018 21:19:47 -0500 Subject: [PATCH] fixed installdisk var to work on vagrant reboot for File.exist --- Vagrantfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 81ec753..747342a 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -24,7 +24,11 @@ bridgenic = 'eth0' ##### -installdisk = './installdisk.vdi' +current_dir = File.dirname(File.expand_path(__FILE__)) +disk_prefix = 'installdisk' +disk_ext ='.vdi' +installdisk = "%s/%s%s" % [current_dir,disk_prefix,disk_ext] + Vagrant.configure("2") do |config|