Adding quotes around parameters in cloud_config (#1664)

This is to help support escapes and special characters
This commit is contained in:
Brad Beam 2017-09-16 02:43:47 -05:00 committed by Matthew Mosesohn
parent 9302ce0036
commit aaa27d0a34
2 changed files with 12 additions and 12 deletions

View file

@ -1,11 +1,11 @@
[Global]
auth-url={{ openstack_auth_url }}
username={{ openstack_username }}
password={{ openstack_password }}
region={{ openstack_region }}
tenant-id={{ openstack_tenant_id }}
auth-url="{{ openstack_auth_url }}"
username="{{ openstack_username }}"
password="{{ openstack_password }}"
region="{{ openstack_region }}"
tenant-id="{{ openstack_tenant_id }}"
{% if openstack_domain_name is defined and openstack_domain_name != "" %}
domain-name={{ openstack_domain_name }}
domain-name="{{ openstack_domain_name }}"
{% endif %}
{% if openstack_blockstorage_version is defined %}

View file

@ -1,12 +1,12 @@
[Global]
datacenter = {{ vsphere_datacenter }}
datastore = {{ vsphere_datastore }}
datacenter = "{{ vsphere_datacenter }}"
datastore = "{{ vsphere_datastore }}"
insecure-flag = {{ vsphere_insecure }}
password = {{ vsphere_password }}
password = "{{ vsphere_password }}"
port = {{ vsphere_vcenter_port }}
server = {{ vsphere_vcenter_ip }}
user = {{ vsphere_user }}
working-dir = {{ vsphere_working_dir }}
server = "{{ vsphere_vcenter_ip }}"
user = "{{ vsphere_user }}"
working-dir = "{{ vsphere_working_dir }}"
{% if vsphere_vm_uuid is defined %}
vm-uuid = {{ vsphere_vm_uuid }}
{% endif %}