Ubuntu 18.04 server build stuck @looking for username and password

79 views
Skip to first unread message

praveen bhat

unread,
Sep 19, 2018, 4:43:50 AM9/19/18
to Packer
when i check the build progress in vmware console ,
installation window stuck at looking form user details.
not sure if my preseed file data is getting fed to the template.
need help!

pfa all the required files
Ubuntu18.04.json
ubuntu18.cfg
packer_output.txt

Rickard von Essen

unread,
Sep 19, 2018, 5:02:13 AM9/19/18
to packe...@googlegroups.com

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/2e604808-6e2f-410e-b5c4-2656a9356f86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

praveen bhat

unread,
Sep 19, 2018, 6:17:26 AM9/19/18
to Packer
Hi Rickard,
I have added the {{ .HTTPPort }} in your boot_command. Still issue persists. PFA the screenshot.
$4520F57543491258.jpg

Rickard von Essen

unread,
Sep 19, 2018, 10:13:31 AM9/19/18
to packe...@googlegroups.com
I did some quick tests, some pointers:

1) dos2unix all you files.
2) For some reason you boot_command doesn't work correctly, replacing it with chef/bento's boot_command and setting the correct preseed_path and it works. https://github.com/chef/bento/blob/master/ubuntu/ubuntu-18.04-amd64.json#L5-L27
3) Still after this shutdown_command fails for some reason.

Hope this helps you.

praveen bhat

unread,
Sep 20, 2018, 7:14:43 AM9/20/18
to Packer
I am still not having any luck gettig thru !!! set users and password windows while installation.
i have used chef/bento's boot_command, also added HTTPPort.
Reply all
Reply to author
Forward
0 new messages