diff options
author | ramon <ramongomez@us.es> | 2017-04-18 13:32:07 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-04-18 13:32:07 +0000 |
commit | 476d112834bb02c91a8dce4e5fb39fec5ad2dc98 (patch) | |
tree | d2422d9e29a6ad23a6c7d31ffc514d192e5fbae9 /installer/vagrant | |
parent | 7fcdc99ab2d5e33aac985cfe7ef511e27fd14294 (diff) |
#739: Ficheros Vagrant compatibles con Windows.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5267 a21b9725-9963-47de-94b9-378ad31fedc9
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. |