Slight correction. PowerShell provisioner will not have access to the HTTPIP and HTTPPort template variables, only the boot_command section in the builder.
On Jun 22, 2017 09:40, "Alvaro Miranda Aguilera" <[email protected]> wrote: > Hello > > Use the http feature of packer, put all the files in a directory, and let > packer to serve from there. > > "http_directory": "http", > > then say you have http/dotnet.msi > > that will be available on: > http://{{ .HTTPIP }}:{{ .HTTPPort }}/dotnet.msi > > If you use powershell, the variables should be available to your script > environment. > > Other option is, I think the floppy should be able to manage large files, > did you tried it? > > Other option is crate a custom iso that include all the files you need. > > > Alvaro > > On Thu, Jun 22, 2017 at 9:06 AM, Woopa <[email protected]> wrote: > >> Hi guys, >> >> I am pretty new to packer, and I have been facing a blocking issue. >> >> I have been provisioning my servers well, and injecting all the scripts >> using the "Floppy_files" section until now. (on a totally isolated network, >> which means, not internet for that node). >> >> I am facing an issue where I need to bring large files to my node so that >> I can install them. (I need to install dot net 4.6.2 and WMF 5.1 around >> 150mo or so). >> The floppy section (of course) didn't worked due to the lack of space >> available on a floppy. >> >> Can any of you guys point me to the easiest way to have my sources copied >> over locally? or how I could make these files available on that hosts in >> other way? >> >> thanks in advance! >> >> -- >> 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/1491f083-665d-4442-a60b-51385bcac261%40googlegroups.com >> <https://groups.google.com/d/msgid/packer-tool/1491f083-665d-4442-a60b-51385bcac261%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/CAHqq0exEXk8nTbgAexyN6i3k2sB4e > MxZuBqJQprAMVcfETOoUw%40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CAHqq0exEXk8nTbgAexyN6i3k2sB4eMxZuBqJQprAMVcfETOoUw%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/CALz9Rt8H4tTdfxkUE-e_89nb9ynTm0p2DJL82Xy_sgeCwgY7Ag%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
