diff --git a/clusters/k8s01/system-upgrades/iscsid_hotfix.yaml b/clusters/k8s01/system-upgrades/iscsid_hotfix.yaml index ea4f6a7801ced13132dfd19512a5d524749fdd2f..1001c7d0ac28e0e847ad127ceca6dd75813918b4 100644 --- a/clusters/k8s01/system-upgrades/iscsid_hotfix.yaml +++ b/clusters/k8s01/system-upgrades/iscsid_hotfix.yaml @@ -27,7 +27,7 @@ stringData: cp "${secrets}/iscsid_hotfix.te" "${semodule_dir}/iscsid_hotfix.te" systemd-run --same-dir --wait --collect --service-type=exec dnf install -y selinux-policy-devel systemd-run --same-dir --wait --collect --service-type=exec checkmodule -M -m -o "${semodule_dir}/iscsid_hotfix.mod" "${semodule_dir}/iscsid_hotfix.te" - systemd-run --same-dir --wait --collect --service-type=exec semodule_package -o "${semodule_dir}/iscsid_hotfix.pp" "${semodule_dir}/iscsid_hotfix.mod" + systemd-run --same-dir --wait --collect --service-type=exec semodule_package -o "${semodule_dir}/iscsid_hotfix.pp" -m "${semodule_dir}/iscsid_hotfix.mod" systemd-run --same-dir --wait --collect --service-type=exec semodule -i "${semodule_dir}/iscsid_hotfix.pp"