mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-18 03:30:07 -03:30
Merge pull request #2750 from w-leads/feature/add-vmname-to-vcp-config
Add vm_name option to vsphere cloud provider config
This commit is contained in:
@@ -14,6 +14,9 @@ server = "{{ vsphere_vcenter_ip }}"
|
|||||||
{% if vsphere_vm_uuid is defined and vsphere_vm_uuid != "" %}
|
{% if vsphere_vm_uuid is defined and vsphere_vm_uuid != "" %}
|
||||||
vm-uuid = "{{ vsphere_vm_uuid }}"
|
vm-uuid = "{{ vsphere_vm_uuid }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if vsphere_vm_name is defined and vsphere_vm_name != "" %}
|
||||||
|
vm-name = "{{ vsphere_vm_name }}"
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if kube_version | version_compare('v1.9.2', '>=') %}
|
{% if kube_version | version_compare('v1.9.2', '>=') %}
|
||||||
|
|||||||
Reference in New Issue
Block a user