Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168455

Windows image with or without cloud-init?

$
0
0

I'm struggeling with getting a windows 20012 r2 image to work properly. I've done some tests and these are the results:

1
Installed Cloud-Init and sysprepped image using cloud-init unattend file as doc from cloud-init. Nothing changed except adapter to lsiLogicsas. Launch image and checked the "Configuration drive".
Result: Image boots, sysprep (cloud-init) begins but after a while VIO shuts down VM and runs guest customization and starts again resulting the VM to halt because the sysprep didn't finish.

2
Using a clean windows image without any cloud-init. Changed to customize the image during launch with vmware and did not checked Config drive". The image lunches, vmware shuts it down, customizing guest, power on, the VM reboots 3 times and then it's up and running. The only thing I notice is that the partintion isn't expanded to the total disksize. Otherwise it seems to work. 

My questions. 
1: Can I disable the VMware guest custom during launch if I want to use Cloud-init? In that case, how?
2: 
What is the recommended path, cloud.init o vmware guest custom? Or maybe both somehow?
3: How can I force the partition to max out the disksize? I have the Disk partition set to auto in the advanced tab during launch.


Viewing all articles
Browse latest Browse all 168455

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>