- Defining File System Configurations for VM
- Windows VM
- ExpandingVMDisk
- RunningVMOnSpecificNode
- UserAccess
- Networking
- Backup&Restore
- ClusterUpdate
- UsefulLinks
virtctl image-upload dv rhel9-with-fs --size=30Gi --image-path=/home/bsahu/composer-api-37841dfb-f81c-4a11-be2f-e463f59dcf29-disk.qcow2.gz --force-bind --storage-class=lvms-vg1 --access-mode=ReadWriteOnce --insecure
*** I was using 4.15 OCP and topolvm.io as my storage class and was getting "Data Volume failed to initiate upload" while doing through the OCP console. Checked with experts and got to know that "since TopoLVM is WaitForFIrstConsumer, I suspect the issue is that there is no consumer and thus the volume won't bind and the pod won't start". The suggestion was to use "--force-bind" flag.
Virtualization -> VirtualMachines -> Create from Template -> Select rhel9 -> Customize VM -> Select Disk -> Edit rootdisk -> Use existing PVC -> Create VM
Go to Scripts and update the cloud-init data to initialize with your specific username.
This is a 3 mins video which will walk you through creating an windows VM: https://youtu.be/Kty3hUBwk54
Supported and Certified guests: https://access.redhat.com/articles/973163#thirdpartyguests
Automating Windows VM creation with OpenShift Virtualization: https://www.youtube.com/watch?v=-xBSW8bNb-U
Creating a Golden Image for Windows VMs in OpenShift Virtualization: https://www.redhat.com/en/blog/creating-a-golden-image-for-windows-vms-in-openshift-virtualization