I am using inline commands under windows-shell provisioner. Can you try that also.
On Wednesday, May 29, 2019 at 9:26:56 PM UTC+5:30, Deval Ganatra wrote: > > Hi all, > I am trying to create AMI for CIS benchmark hardening. Other things are > working fine except windows-restart provisioner. As restart is necessary in > windows to complete so many things, I am trying to restart instance before > creating AMI. Can anyone help me with that? > -- 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/7beea24c-721f-49fa-8dce-565483d56636%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
