vmware-vmx vm name doesn't change it in Fusion?

4 views
Skip to first unread message

SurferL

unread,
Nov 30, 2017, 9:44:27 AM11/30/17
to Packer
Using the following Packer Template, the vm_name doesn't actually change the vm name when it is opened in Fusion? Just the .vmx file?

So when I open the newly created VM - it appears as "clone of base_image" rather than "new_vm_name". 

Is this how it is meant to be? and if not, how am I suppose to change it properly?



"builders": [
{
"type": "vmware-vmx",

"vm_name": "new_vm_name",

"source_path": "{{ user `base_image` }}",
"output_directory": "{{ user `output_dir` }}",

"ssh_username": "{{ user `username` }}",
"ssh_password": "{{ user `password` }}",

"shutdown_command": "echo '{{ user `password ` }}' | sudo -S shutdown -h now",
"shutdown_timeout": "10m",

"headless": true
}
],
Reply all
Reply to author
Forward
0 new messages