apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  creationTimestamp: null
  labels:
    kubevirt.io/vm: centos-stream-9
  name: centos-stream-9 
spec:
  dataVolumeTemplates:
  - metadata:
      creationTimestamp: null
      name: centos-dv 
    spec:
      storage:
        volumeMode: Block 
        resources:
          requests:
            storage: 10Gi
        storageClassName: ocs-storagecluster-ceph-rbd
        sourceRef:
          kind: DataSource
          name: centos-stream9
          namespace: openshift-virtualization-os-images
    status: {}
  running: true
  template:
    metadata:
      creationTimestamp: null
      labels:
        kubevirt.io/vm: centos-stream-9
    spec:
      domain:
        devices:
          interfaces:
            - masquerade: {}
              name: default
          disks:
          - disk:
              bus: virtio
            name: datavolumedisk1
          - disk:
              bus: virtio
            name: cloudinitdisk
        machine:
          type: ""
        resources:
          requests:
            memory: 1.5Gi
      terminationGracePeriodSeconds: 180
      networks:
        - name: default
          pod: {}
      volumes:
      - dataVolume:
          name: centos-dv
        name: datavolumedisk1
      - cloudInitNoCloud:
          userData: |-
            #cloud-config
            user: cloud-user
            password: bpq1-qx5d-khjg
            chpasswd: { expire: False }
        name: cloudinitdisk