From bd82c380c4b7e24963ecc2f9bf11b4a7f57f03d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norbert=20Ill=C3=A9s?= Date: Thu, 20 Sep 2018 21:02:14 +0200 Subject: [PATCH] vagrantfile: fix references to OpenStack settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In case of an OpenStack "box", the Vagrantfile intend to check the existence of os_networks and os_floating_ip_pool settings in vagrant_variables.yml and pass them to the provider if they are set. Due to two typos in the Vagrantfile this is not working as it checks the wrong variable names. This commit fixes the typos so these settings can be used. Signed-off-by: Norbert Illés --- Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 52d1a3eef..314556c6f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -162,11 +162,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| os.keypair_name = settings['os_keypair_name'] os.security_groups = ['default'] - if settings['os.networks'] then + if settings['os_networks'] then os.networks = settings['os_networks'] end - if settings['os.floating_ip_pool'] then + if settings['os_floating_ip_pool'] then os.floating_ip_pool = settings['os_floating_ip_pool'] end