RedHatOfficial / ocp4-vsphere-upi-automation

Automates most of the manual steps of deploying OCP4.x cluster on vSphere
MIT License
131 stars 107 forks source link

VMware folder paths with spaces do not work #71

Closed mallmen closed 1 year ago

mallmen commented 3 years ago

There are several places where the vmware.folder_absolute_path are used in the command module which does not work with spaces. Re-factor the tasks to use command.argv to properly handle the spaces.

ddreggors commented 2 years ago

I was able to make this work by quoting the path

datacenter: 'NPRD Core Server Hosting'
folder_absolute_path: '/NPRD Core Server Hosting/vm/OpenShift/{{ cluster }}'
ddreggors commented 2 years ago

For what it's worth, the same applies to govc on the command line :-)

ddreggors commented 1 year ago

Quoting names with spaces resolve this issue, closing...