And of course you can run the container with --network=host On Nov 26, 2016 9:24 AM, "Alvaro Miranda Aguilera" <[email protected]> wrote:
> you can put the ks outside packer in a known ip and use that in the boot > line. > > Or you can use a custom iso and put the ks inside the iso. > > or you can use %pre and parse the command line and grab the info from there > > or you can use floppy > > I have been using floppy in 0.11 and 0.12 and no problems for windows or > linux / virtualbox or vmware > > Alvaro. > > On Sat, Nov 26, 2016 at 2:27 AM, Dan Tran <[email protected]> wrote: > >> >> solution 1 sounds self-contained, but we had a hard time with the floppy >> device before. it intermittently failed very often and http_directory is a >> bless >> >> solution 2: sounds very hard. I can discover the docker host, lock the >> http port inside docker, how do i push it to boot_command? >> >> -Dan >> >> On Friday, November 25, 2016 at 12:26:47 PM UTC-8, Rickard von Essen >> wrote: >>> >>> 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 [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/packer-tool/5572a460-1105-4914-9cff-f83a9eed0998%40googlegroups.com >> <https://groups.google.com/d/msgid/packer-tool/5572a460-1105-4914-9cff-f83a9eed0998%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Alvaro > > -- > 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/CAHqq0ewXfKdGT9YTT8%2BU0oUTZNjM2k4% > 2BcknV5myTxaMTvwsU5Q%40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CAHqq0ewXfKdGT9YTT8%2BU0oUTZNjM2k4%2BcknV5myTxaMTvwsU5Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt9r%3D7Ly5dxCYdM%2BhFKZSJ2OtA7OLYCWkftHZG91w6Az0g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
