I have a question regarding packer - Windows Server Template creation.
Everything is going fine until the last step.
There will be powershell script to install Active Directory Domain Services and Create a forest on the target server. It works fine. then when Packer sends shutdown command to convert the vm into template, it fails.
The reason of failing is, windows has [ applying settings screen ] loading. it takes a lot of time for some reason; when I tested manually. Eventually it works (manually no packer) - Just need to wait.
The problem im facing that Packer is not waiting more than 11 minutes. then it fails and destory the VM
Any ideas how to let packer wait for 30 minutes if that is possible? and why 11 minutes. is that a value that i can chage?
Thanks in advance.