Closed mafischer closed 4 years ago
This issue is caused by the virtual machine not having network access. My host machine has a static ip based on it's mac address. When the dhcp server see's a dhcp request coming from the virtual machine, it tries to configure it with same ip as the host machine...
I saw this issue on Windows 10 hosts with HyperV installed. The virtual machine IP is the same as the host machine, although the virtual machine has another MAC address. Try setting a bridged virtual switch or a static IP in the virtual machine using the hooks for the imaging tools: https://github.com/cloudbase/windows-openstack-imaging-tools/blob/master/Config.psm1#L74
@mafischer How did you solve it? My problem is very similar to yours, the script stuck on Waiting WindowsOnlineImage-Sysprep2078383705
, if I open the vm (while stuck on waiting) through Hyper-V Manager, it will move on and finish its jobs, why?
I logged into the vm and changed the ip address manually.
Closing the issue, as there was no recent response / activity.
The process hangs waiting for sysprep to finish.
at this point i rdp into the virtual machine and see this in an open powershell script:
The device has no internet access, not sure if that is a result of sysprep removing drivers before this step.