From 476d112834bb02c91a8dce4e5fb39fec5ad2dc98 Mon Sep 17 00:00:00 2001 From: ramon Date: Tue, 18 Apr 2017 13:32:07 +0000 Subject: #739: Ficheros Vagrant compatibles con Windows. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5267 a21b9725-9963-47de-94b9-378ad31fedc9 --- installer/vagrant/Vagrantfile-devel-vbox | 2 +- 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. -- cgit v1.2.3-18-g5258