Browse Source
Merge pull request #2654 from ganeshmaharaj/fix-vagrant-default-inventory
Vagrantfile: Fix default inventory path.
pull/2662/head
Aivars Sterns
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Vagrantfile
|
|
@ -54,7 +54,7 @@ end |
|
|
|
|
|
|
|
$box = SUPPORTED_OS[$os][:box] |
|
|
|
# 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 |
|
|
|
# to where vagrant expects dynamic inventory to be. |
|
|
|