[kubevirt] Add example with multus clone

Related-Prod: PRODX-3456
Change-Id: Ib5886c73c8cd47a1198339c5ca23959eeb0034ce
diff --git a/kubevirt/examples/20-boot-vm-multus/clone.yaml b/kubevirt/examples/20-boot-vm-multus/clone.yaml
new file mode 100644
index 0000000..16a9e63
--- /dev/null
+++ b/kubevirt/examples/20-boot-vm-multus/clone.yaml
@@ -0,0 +1,27 @@
+kind: VirtualMachineClone
+apiVersion: "clone.kubevirt.io/v1alpha1"
+metadata:
+  name: cirros-net1-clone
+
+spec:
+  # source & target definitions
+  source:
+    apiGroup: kubevirt.io
+    kind: VirtualMachine
+    name: cirros-net1
+  target:
+    apiGroup: kubevirt.io
+    kind: VirtualMachine
+    name: cirros-net1-clone-target
+
+  # labels & annotations definitions
+  labelFilters:
+    - "*"
+    - "!someKey/*"
+  annotationFilters:
+    - "anotherKey/*"
+
+  # other identity stripping specs:
+  #newMacAddresses:
+  #  interfaceName: "00-11-22"
+  #newSMBiosSerial: "new-serial"
diff --git a/kubevirt/install.sh b/kubevirt/install.sh
index 047b44b..671b1c6 100644
--- a/kubevirt/install.sh
+++ b/kubevirt/install.sh
@@ -32,6 +32,15 @@
     fi
 }
 
+function wait_for_crd {
+    local crd="$1"
+    # wait unless crd appear
+    while ! kubectl get crd $crd; do
+        echo "Waiting crd $crd"
+        sleep 5
+    done
+}
+
 function install_kubevirt_operator {
     kubectl apply -f https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_RELEASE}/kubevirt-operator.yaml
     kubectl apply -f https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_RELEASE}/kubevirt-cr.yaml
@@ -157,6 +166,7 @@
 
 function install_ceph {
     install_ceph_controller
+    wait_for_crd miracephs.lcm.mirantis.com
     deploy_ceph
 }