Closed C00kiie closed 1 year ago
notes / questions:
Hello,
There are a few examples on the examples folder, with one more suitable on what you might need: https://github.com/cloudbase/windows-imaging-tools/blob/master/Examples/create-windows-online-cloud-image.ps1
New-WindowsCloudImage
is the "half-baked" image, where the WIM has been applied but no updates, no Cloudbase-init has been installed, sysprep has not been executed. You need a hypervisor to instantiate and run the VM with the backing virtual disk New-WindowsCloudImage has created, in order to finish configuring the image.
New-WindowsOnlineImage
is the method to create a fully working image.
Thank you, Adrian Vladu
Closing the issue as the New-WindowsOnlineImage
should be used to obtain a shrinked image.
Hi, I tried to create a cloud image in .raw format, for openstack hypervisor, with the
examples/create-windows-cloud-image.ps1
powershell script.Here's my
config.ini
file:I'm using windows 2022 trial evaluation image ,
I edited a few lines in the example, so it doesn't download
virtio.iso
file over and over, since I have low bandwidth, here's the fullcreate-windows-cloud-image.ps1
file:TL;DR: I created windows cloud image with
create-windows-cloud-image.ps1
and got a 30GB raw image. Is this the normal behavior?