]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
vagrantfile: fix references to OpenStack settings
authorNorbert Illés <illesnorbi@gmail.com>
Thu, 20 Sep 2018 19:02:14 +0000 (21:02 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Fri, 21 Sep 2018 07:00:03 +0000 (07:00 +0000)
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 <illesnorbi@gmail.com>
Vagrantfile

index 52d1a3eef145bfa8de3afe99dce1cde74e7d8b84..314556c6fa250831206540e232f8b995055f6b38 100644 (file)
@@ -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