quote vmx path in register function
This commit is contained in:
parent
8cba32d526
commit
3f591d78f3
|
@ -92,7 +92,7 @@ func (d *ESX5Driver) Register(vmxPathLocal string) error {
|
|||
if err := d.upload(vmxPath, vmxPathLocal); err != nil {
|
||||
return err
|
||||
}
|
||||
r, err := d.run(nil, "vim-cmd", "solo/registervm", vmxPath)
|
||||
r, err := d.run(nil, "vim-cmd", "solo/registervm", fmt.Sprintf("\"%s\"", vmxPath))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue