Hello,

Packer can open a http server and serve a directory from there.

ie:

{
"type": "virtualbox-iso",
"boot_command": [
..

preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
..
],
..
"http_directory": "http",
..
},


Here you can see the directory http/ will be on a web server

and then the intaller will read a response file from http://{{ .HTTPIP
}}:{{ .HTTPPort }}/preseed.cfg
Thanks
Alvaro.


On Thu, Aug 25, 2016 at 8:31 PM, Chen Xi <[email protected]> wrote:

> Hi Alvaro,
>
> I am seeing the same issue. My question is do we need to build a http
> server on local machine running packer.
>
> Thanks,
> Xi
>
> On Friday, August 5, 2016 at 12:55:40 PM UTC-4, Alvaro Miranda Aguilera
> wrote:
>>
>> Hello.
>>
>> already did.
>>
>> I suggest perform the tutorial and learn from the process.
>>
>> The repo used in the tutorial works.
>>
>> Alvaro.
>>
>> On Fri, Aug 5, 2016 at 6:53 PM, Samirkanta Lenka <[email protected]>
>> wrote:
>>
>>> Hello Alvaro,
>>>
>>> Thanks for your quick reply-
>>> Here is my requirements-
>>>
>>> Wants to create an ubuntu image using Packer, where Shell Scripts as the
>>> provisioners and being built for Virtual Box.
>>>
>>> Can you please help me on this.
>>>
>>> --
>>> 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/7de8f059-e943-49ed-b93f-4bf59ca9178c%40googlegroups.com
>>> <https://groups.google.com/d/msgid/packer-tool/7de8f059-e943-49ed-b93f-4bf59ca9178c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Alvaro
>> (+31)103400555
>>
> --
> 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/c7974cf6-5a70-4a9d-a0d9-40fe7a2ade15%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/c7974cf6-5a70-4a9d-a0d9-40fe7a2ade15%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro
(+31)103400555

-- 
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/CAHqq0ex-ehVfGAsPpwSybaK-RH%2BazAzo17n7rwJvNa%3DvLScWkg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to