diff options
Diffstat (limited to 'installer/vagrant')
-rw-r--r-- | installer/vagrant/Vagrantfile-devel-vbox | 2 | ||||
-rw-r--r-- | installer/vagrant/Vagrantfile-trunk-vbox | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/vagrant/Vagrantfile-devel-vbox b/installer/vagrant/Vagrantfile-devel-vbox index 05bf7e0e..ec6ab674 100644 --- a/installer/vagrant/Vagrantfile-devel-vbox +++ b/installer/vagrant/Vagrantfile-devel-vbox @@ -108,7 +108,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| vb.memory = SERVERMEM vb.cpus = 1 # Get VM disk path - line = `VBoxManage list systemproperties | grep "Default machine folder"` + line = `VBoxManage list systemproperties`.match("Default machine folder.*")[0] vb_machine_folder = line.split(':')[1].strip() second_disk = File.join(vb_machine_folder, vb.name, REPODISK) # Create repo virtual disk, if needed. diff --git a/installer/vagrant/Vagrantfile-trunk-vbox b/installer/vagrant/Vagrantfile-trunk-vbox index d081804f..e4ce99f3 100644 --- a/installer/vagrant/Vagrantfile-trunk-vbox +++ b/installer/vagrant/Vagrantfile-trunk-vbox @@ -79,7 +79,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| vb.memory = SERVERMEM vb.cpus = 1 # Get VM disk path - line = `VBoxManage list systemproperties | grep "Default machine folder"` + line = `VBoxManage list systemproperties`.match("Default machine folder.*")[0] vb_machine_folder = line.split(':')[1].strip() second_disk = File.join(vb_machine_folder, vb.name, REPODISK) # Create repo virtual disk, if needed. |