Packer build getting stuck in windows powershell provisioner

33 views
Skip to first unread message

Pradeep C

unread,
Jan 22, 2019, 1:17:24 AM1/22/19
to Packer
Hi,

I am creatibg an amazon machine image using packer.
In my packer.json, I have a windows powershell provisioner, followed by a windows_restart provisioner. During the build, after executing the last statement in the powershell script, nothing happens. The build gets stuck.
But after the execution of the windows_powershell provisioner, If I manually login to the instance and do a restart, then packer catches up and resumes the execution.

Can someone help please?

Alvaro Miranda Aguilera

unread,
Jan 29, 2019, 1:44:31 PM1/29/19
to packe...@googlegroups.com
hello

is not possible to help without code or logs, and a explanation on if you build this and was working, or this has never worked.

If you could share code, logs and a explanation on how this code got built it will help a lot.

Thanks
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/7488695b-83a9-4e84-8eb4-29c8bc9aea71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages