diff --git a/package/harvester-os/files/system/oem/99_modules.yaml b/package/harvester-os/files/system/oem/99_modules.yaml new file mode 100644 index 000000000..afd627692 --- /dev/null +++ b/package/harvester-os/files/system/oem/99_modules.yaml @@ -0,0 +1,6 @@ +name: "load kernel modules" +stages: + boot: + - name: "load dm_crypt" + commands: + - modprobe dm_crypt \ No newline at end of file diff --git a/scripts/hack/patch-harvester-chart b/scripts/hack/patch-harvester-chart index f870acda2..7409e4f7d 100644 --- a/scripts/hack/patch-harvester-chart +++ b/scripts/hack/patch-harvester-chart @@ -1,11 +1,13 @@ #!/bin/bash patch_harvester_chart(){ - local kubevirt_arm_version="v1.1.0" + local kubevirt_arm_version="v1.2.2" local kubevirt_arm_registry="quay.io\/kubevirt" local kubevirt_amd_registry="registry.suse.com\/suse\/sles\/15.5" local harvester_chart_dir=$1 local values_file="${harvester_chart_dir}/values.yaml" sed -ie "s/${kubevirt_amd_registry}/${kubevirt_arm_registry}/g" ${values_file} + # drop emulatedMachines from harvester chart + yq -i 'del(.kubevirt.spec.configuration.emulatedMachines)' ${values_file} version=${kubevirt_arm_version} yq -i '.kubevirt-operator.containers.operator.image.tag = env(version)' ${values_file} } \ No newline at end of file