mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Update Vagrantfile
Update Vagrantfile to use full path (derived) to `servers.yml`; fixes an error when using Vagrant commands outside the directory
This commit is contained in:
parent
e4002ed43e
commit
a3fd97ec40
1 changed files with 1 additions and 1 deletions
2
consul/Vagrantfile
vendored
2
consul/Vagrantfile
vendored
|
|
@ -13,7 +13,7 @@ require 'yaml'
|
|||
|
||||
# Read YAML file with VM details (box, CPU, RAM, IP addresses)
|
||||
# Be sure to edit servers.yml to provide correct IP addresses
|
||||
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|
|
||||
|
|
|
|||
Loading…
Reference in a new issue