VMWare Tools ISO Error (Skip?)

231 views
Skip to first unread message

William

unread,
Feb 6, 2018, 4:27:32 PM2/6/18
to Packer
Hi,

I am using packer to build Alpine Linux on ESXi 6.5 from macOS 10.13 and everything is working great except for one thing. It throws the following error:

"Build 'vmware' errored: Couldn't mount VMware tools ISO. Please check the 'guest_os_type' in your template.json."

I am using a value of "guest_os_type": "otherlinux-64",

Which in my case is fine since I am using open-vm-tools. But this exits non-gracefully and therefore I can't use post provisioners. 

Is there a way to skip mounting the tools and exit gracefully? At least it exits and still exports the OVA so I get a working build out of the process.


Thanks for the help. 

Rickard von Essen

unread,
Feb 7, 2018, 1:41:05 AM2/7/18
to packe...@googlegroups.com

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/d406ad01-6f75-4b1a-bf56-07a7d3adb31c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William Garrido

unread,
Feb 7, 2018, 2:02:43 AM2/7/18
to packe...@googlegroups.com
I have 
"tools_upload_flavor":"linux",

Rickard von Essen

unread,
Feb 7, 2018, 2:03:55 AM2/7/18
to packe...@googlegroups.com
Set it to "" 

On Feb 7, 2018 08:02, "William Garrido" <wgar...@navigatingcancer.com> wrote:
I have 
"tools_upload_flavor":"linux",

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.

William Garrido

unread,
Feb 7, 2018, 2:06:43 AM2/7/18
to packe...@googlegroups.com
Thank you so much. I will try it in the morning. 

William

unread,
Feb 7, 2018, 12:25:36 PM2/7/18
to Packer
Worked great! Finished gracefully. 
Reply all
Reply to author
Forward
0 new messages