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] [Global]
auth-url={{ openstack_auth_url }} auth-url="{{ openstack_auth_url }}"
username={{ openstack_username }} username="{{ openstack_username }}"
password={{ openstack_password }} password="{{ openstack_password }}"
region={{ openstack_region }} region="{{ openstack_region }}"
tenant-id={{ openstack_tenant_id }} tenant-id="{{ openstack_tenant_id }}"
{% if openstack_domain_name is defined and openstack_domain_name != "" %} {% if openstack_domain_name is defined and openstack_domain_name != "" %}
domain-name={{ openstack_domain_name }} domain-name="{{ openstack_domain_name }}"
{% endif %} {% endif %}
{% if openstack_blockstorage_version is defined %} {% if openstack_blockstorage_version is defined %}

View file

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