ERROR: Failed to retrieve the preconfiguration file. The file needed for preconfiguration could not

786 views
Skip to first unread message

Jarah Conway

unread,
Sep 23, 2016, 1:21:08 PM9/23/16
to Packer
Hello,

Attached are my code and the screenshot of the error I get. It can't seem to run the preseed .cfg. I read somewhere that I need to get firewall disabled. I tried doing that with a shell script in provisions, but still to no avail. Can anyone help?
createDebianvm.json
fw.sh
Screen Shot 2016-09-23 at 10.17.43 AM.png
Screen Shot 2016-09-23 at 10.18.23 AM.png

Rickard von Essen

unread,
Sep 23, 2016, 5:53:20 PM9/23/16
to packe...@googlegroups.com
Since you are adding the preseed.cfg to the floppy i'll recommend that you start with changing your boot command to load it from floppy instead of network.

You should also troubleshoot your network setup by accessing the VMs console and verify that the network have started correctly and that you have connectivity to your packer host.

On 23 September 2016 at 19:21, Jarah Conway <jarah...@gmail.com> wrote:
Hello,

Attached are my code and the screenshot of the error I get. It can't seem to run the preseed .cfg. I read somewhere that I need to get firewall disabled. I tried doing that with a shell script in provisions, but still to no avail. Can anyone help?

--
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/b158aa99-23c6-43b2-9b67-382bd76129e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages