Ok I interpret it as you run packer inside a docker container.
There is two solutions.
1) put the Kickstart file on a floppy an old it from that
2) fix the http port and expose that from the container. This requires that know the docker hosts IP and portmapping so you can get this into the boot_command.
--
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/baf475cf-758f-4396-9884-24ed4bad4da6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can use a user variable and interpolate it in boot_command instead of HTTPIP.
If you are building within CI maybe you can reference the Kickstart files directly from the workspace over http.
There have been some work done lately with floppy_files and floppy_dirs so it might be worth testing it again if you haven't tried it in a recent version.
--
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/5572a460-1105-4914-9cff-f83a9eed0998%40googlegroups.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/5572a460-1105-4914-9cff-f83a9eed0998%40googlegroups.com.
And of course you can run the container with --network=host
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAHqq0ewXfKdGT9YTT8%2BU0oUTZNjM2k4%2BcknV5myTxaMTvwsU5Q%40mail.gmail.com.
We are trying to build vmware packer images inside container, we have created a docker image with vmware workstation, vmware Vix and packer. But the packer builds are failing with cannot start vm error. Would you be able to share how you guys set it up to build the images?
Hi Dan,
We are trying to build vmware packer images inside container, we have created a docker image with vmware workstation, vmware Vix and packer. But the packer builds are failing with cannot start vm error. Would you be able to share how you guys set it up to build the images?
--
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/46d41890-43a0-4a01-937a-20dc4df31081%40googlegroups.com.