Open PrashantRaj18198 opened 2 weeks ago
Hello,
With packer is a little bit more different, but this might be useful: https://github.com/cloudbase/windows-imaging-tools/blob/master/UnattendResources/Logon.ps1#L720
I suggest creating images with this tool: https://github.com/cloudbase/windows-imaging-tools or maybe trying to reproduce the steps when creating such an image.
You have an example of working cloudbase-init configuration and steps here: https://github.com/cloudbase/windows-imaging-tools/tree/master/Examples/config/azure
Thanks.
Hi,
I made an image including cloudbase init. And sysprepped the VM using the cloud init provided unattend.xml file Here's how I'm doing the sysprep
This is using packer btw.
The image made is able to bootup most of the time (this is different different instances, by bootup I mean new instance allocation). But some times it fails with the error
The machine however is okay when I restart it and it works. This flow is part of an automated process where I can't do a manual intervention to start up the VMs.
Let me know if I can provide any additional details on this.