X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=Vagrantfile;h=ea8593d244c71adc6fad7cb0ff4aea8444f75e1c;hb=41776ab3743c491e4ff4c31e7a2ea48abe6451a2;hp=00aec4b818b397cd7748017f9956c38cf342ccab;hpb=b7dfbeb8a2399d7d3cd55e49aae3486ec9aa7695;p=icn.git diff --git a/Vagrantfile b/Vagrantfile index 00aec4b..ea8593d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -18,7 +18,7 @@ with_jenkins = ENV['WITH_JENKINS'] || false # virtual environment is emulated by virtualbmc listening on the host. baremetal_cidr = nil registry_mirrors = nil -Dir.glob("deploy/site/#{site}/*.yaml") do |file| +Dir.glob("deploy/site/#{site}/deployment/*.yaml") do |file| YAML.load_stream(File.read(file)) do |document| values = document.fetch('spec', {}).fetch('values', {}) unless values['bmcAddress'].nil? @@ -133,7 +133,7 @@ Vagrant.configure("2") do |config| # the values dictionary. This will provide the values needed to # create the machine pool. legacy_machine_args = "" - Dir.glob("deploy/site/#{site}/*.yaml") do |file| + Dir.glob("deploy/site/#{site}/deployment/*.yaml") do |file| YAML.load_stream(File.read(file)) do |document| values = document.fetch('spec', {}).fetch('values', {}) next if values['machineName'].nil? || values['bootMACAddress'].nil?