If you get SDL errors when running with head you should fix your qemu
installation (assuming this is a desktop running X windows etc).

https://packer.io/docs/builders/qemu.html#templates-inside-boot-command


On Tue, Jan 29, 2019, 22:50 Rory Toma <[email protected] wrote:

> If I set headless to "true" packer exits with SDL errors.
> I looked at docs... how to HTTPIP and such get set?
>
> Rickard von Essen wrote on 1/29/19 1:48 PM:
>
> Don't run headless if you are trouble shooting. Your boot command is
> typed. The VM might not show the depending on when they happen. Your
> ssh_timeout is way to short for installing a fresh from ISO, set it to
> something like 30m to be safe.
>
> Your boot commad reference the host netinst which is probably not what you
> want. It should be a template with HTTPIP and such, see the docs.
>
> On Tue, Jan 29, 2019, 22:38 Rory Toma <[email protected] wrote:
>
>>
>>
>> Rickard von Essen wrote on 1/29/19 1:23 PM:
>>
>> Could you rerun the previous setup (with boot_command) with env var
>> PACKER_LOG=1 and post the log here. There seems to be something wrong.
>>
>> On Tue, Jan 29, 2019, 22:10 rory toma <[email protected] wrote:
>>
>>> Nothing, it just sits on cdrom installer. I've worked around this for
>>> now by modifying isolinux.cfg and re-generating the iso. I have dracut
>>> issues now, but I can fix that.
>>>
>>> On Tuesday, January 29, 2019 at 1:01:16 PM UTC-8, Rickard von Essen
>>> wrote:
>>>>
>>>> What happens when it types the boot command?
>>>>
>>>> On Tue, Jan 29, 2019, 21:15 rory toma <[email protected] wrote:
>>>>
>>>>> So it seems to be completely ignoring my boot_command to tell it to
>>>>> install from a kickstart file.
>>>>> --
>>>>> 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/c48ac54b-6b4c-44e4-bb60-96a1647831c4%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/packer-tool/c48ac54b-6b4c-44e4-bb60-96a1647831c4%40googlegroups.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/8aa71565-03af-4ed6-b6d9-0d00fd6ff990%40googlegroups.com
>>> <https://groups.google.com/d/msgid/packer-tool/8aa71565-03af-4ed6-b6d9-0d00fd6ff990%40googlegroups.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/CALz9Rt8CpJowTeUPSO12Hp0ZXNDPSF7nSGhYC_ZDEPdrhDpCsQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/packer-tool/CALz9Rt8CpJowTeUPSO12Hp0ZXNDPSF7nSGhYC_ZDEPdrhDpCsQ%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/c0c0714f-1e6b-d50f-b6ba-fecc6c553341%40gmail.com
>> <https://groups.google.com/d/msgid/packer-tool/c0c0714f-1e6b-d50f-b6ba-fecc6c553341%40gmail.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/CALz9Rt_2GVCXyvj%2BCqK9eJGw2oQdQy8_mRFPx53rH9%3Dh0jZxCw%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CALz9Rt_2GVCXyvj%2BCqK9eJGw2oQdQy8_mRFPx53rH9%3Dh0jZxCw%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/CALz9Rt8qQya6k94OdiLQ6bPr73zwWJOwSrLT-x4qapvbcs9R1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to