Update Vagrantfile

Add Ruby commands to Vagrantfile to allow user to run Vagrant commands
from a different directory than the Vagrantfile.
This commit is contained in:
Scott Lowe 2016-01-12 21:26:16 -07:00
parent 2cea197b74
commit 2c34c9e692

2
lxd-ovs/Vagrantfile vendored
View file

@ -10,7 +10,7 @@ ENV['VAGRANT_VMWARE_CLONE_DIRECTORY'] = '~/.vagrant'
require 'yaml'
# Read YAML file with VM details (box, CPU, and RAM)
servers = YAML.load_file('servers.yml')
servers = YAML.load_file(File.join(File.dirname(__FILE__), 'servers.yml'))
# Create and configure the VMs
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|