Add vm_name option to vsphere cloud provider config

pull/2750/head
Ryo Nishikawa 2018-05-08 12:23:58 -07:00
parent d73d60c9b0
commit 51a9379d3c
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ server = "{{ vsphere_vcenter_ip }}"
{% if vsphere_vm_uuid is defined and vsphere_vm_uuid != "" %}
vm-uuid = "{{ vsphere_vm_uuid }}"
{% endif %}
{% if vsphere_vm_name is defined and vsphere_vm_name != "" %}
vm-name = "{{ vsphere_vm_name }}"
{% endif %}
{% endif %}
{% if kube_version | version_compare('v1.9.2', '>=') %}