Skip to content
Snippets Groups Projects
Unverified Commit c7683f33 authored by Aivars Sterns's avatar Aivars Sterns Committed by GitHub
Browse files

Merge pull request #2654 from ganeshmaharaj/fix-vagrant-default-inventory

Vagrantfile: Fix default inventory path.
parents 49e3665d afcd5997
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ end ...@@ -54,7 +54,7 @@ end
$box = SUPPORTED_OS[$os][:box] $box = SUPPORTED_OS[$os][:box]
# if $inventory is not set, try to use example # if $inventory is not set, try to use example
$inventory = File.join(File.dirname(__FILE__), "inventory") if ! $inventory $inventory = File.join(File.dirname(__FILE__), "inventory", "sample") if ! $inventory
# if $inventory has a hosts file use it, otherwise copy over vars etc # if $inventory has a hosts file use it, otherwise copy over vars etc
# to where vagrant expects dynamic inventory to be. # to where vagrant expects dynamic inventory to be.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment