Windows Cloud-Init - Only works if full clone or gen image

p.lakis

New Member
Jul 11, 2018
23
0
1
38
Im facing an issue with Windows & Cloud init on templates

Im using the API to clone and configure the VM,
Cloud init wont initiate if i link clone and set config then start. I have to go into the GUI and press Generate Image then it works.
If i full clone this doesn't apply, The Cloud init config works

Is this normal behaviour? If so is there any way to generate image via the API?
 
What do you mean with 'won't initiate'? Can you start the VM? Is the content of the cloudinit disk wrong in the VM?
The cloudinit disk should always be a full clone of the template. Can you post the output of your 'qm clone' command?