diff --git a/Rocky-9-Cinnamon.ks b/Rocky-9-Cinnamon.ks index 6308cb8..b3535d5 100644 --- a/Rocky-9-Cinnamon.ks +++ b/Rocky-9-Cinnamon.ks @@ -88,7 +88,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end diff --git a/Rocky-9-KDE.ks b/Rocky-9-KDE.ks index 10fd179..3af6d49 100644 --- a/Rocky-9-KDE.ks +++ b/Rocky-9-KDE.ks @@ -88,7 +88,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end diff --git a/Rocky-9-MATE.ks b/Rocky-9-MATE.ks index e48049d..e69f5ff 100644 --- a/Rocky-9-MATE.ks +++ b/Rocky-9-MATE.ks @@ -88,7 +88,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end diff --git a/Rocky-9-Workstation-Lite.ks b/Rocky-9-Workstation-Lite.ks index f4de458..a8533c4 100644 --- a/Rocky-9-Workstation-Lite.ks +++ b/Rocky-9-Workstation-Lite.ks @@ -87,7 +87,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end diff --git a/Rocky-9-Workstation.ks b/Rocky-9-Workstation.ks index 9a9c69a..90c5dd6 100644 --- a/Rocky-9-Workstation.ks +++ b/Rocky-9-Workstation.ks @@ -87,7 +87,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end diff --git a/Rocky-9-XFCE.ks b/Rocky-9-XFCE.ks index 6d29bc4..3c9701d 100644 --- a/Rocky-9-XFCE.ks +++ b/Rocky-9-XFCE.ks @@ -88,7 +88,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end diff --git a/live/9/aarch64/peridot/rocky-live-base-spin.ks b/live/9/aarch64/peridot/rocky-live-base-spin.ks index 8f03454..5a934b9 100644 --- a/live/9/aarch64/peridot/rocky-live-base-spin.ks +++ b/live/9/aarch64/peridot/rocky-live-base-spin.ks @@ -124,6 +124,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/aarch64/peridot/rocky-live-base.ks b/live/9/aarch64/peridot/rocky-live-base.ks index 6398cf7..15d0251 100644 --- a/live/9/aarch64/peridot/rocky-live-base.ks +++ b/live/9/aarch64/peridot/rocky-live-base.ks @@ -120,6 +120,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/aarch64/prod/rocky-live-base-spin.ks b/live/9/aarch64/prod/rocky-live-base-spin.ks index 8f03454..5a934b9 100644 --- a/live/9/aarch64/prod/rocky-live-base-spin.ks +++ b/live/9/aarch64/prod/rocky-live-base-spin.ks @@ -124,6 +124,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/aarch64/prod/rocky-live-base.ks b/live/9/aarch64/prod/rocky-live-base.ks index 6398cf7..15d0251 100644 --- a/live/9/aarch64/prod/rocky-live-base.ks +++ b/live/9/aarch64/prod/rocky-live-base.ks @@ -120,6 +120,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/aarch64/stage/rocky-live-base-spin.ks b/live/9/aarch64/stage/rocky-live-base-spin.ks index 8f03454..5a934b9 100644 --- a/live/9/aarch64/stage/rocky-live-base-spin.ks +++ b/live/9/aarch64/stage/rocky-live-base-spin.ks @@ -124,6 +124,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/aarch64/stage/rocky-live-base.ks b/live/9/aarch64/stage/rocky-live-base.ks index 6398cf7..15d0251 100644 --- a/live/9/aarch64/stage/rocky-live-base.ks +++ b/live/9/aarch64/stage/rocky-live-base.ks @@ -120,6 +120,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/ppc64le/peridot/rocky-live-base-spin.ks b/live/9/ppc64le/peridot/rocky-live-base-spin.ks index 2d04d83..11aad0f 100644 --- a/live/9/ppc64le/peridot/rocky-live-base-spin.ks +++ b/live/9/ppc64le/peridot/rocky-live-base-spin.ks @@ -126,6 +126,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/ppc64le/peridot/rocky-live-base.ks b/live/9/ppc64le/peridot/rocky-live-base.ks index 609cfd2..7f2ce61 100644 --- a/live/9/ppc64le/peridot/rocky-live-base.ks +++ b/live/9/ppc64le/peridot/rocky-live-base.ks @@ -122,6 +122,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/ppc64le/prod/rocky-live-base-spin.ks b/live/9/ppc64le/prod/rocky-live-base-spin.ks index 2d04d83..11aad0f 100644 --- a/live/9/ppc64le/prod/rocky-live-base-spin.ks +++ b/live/9/ppc64le/prod/rocky-live-base-spin.ks @@ -126,6 +126,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/ppc64le/prod/rocky-live-base.ks b/live/9/ppc64le/prod/rocky-live-base.ks index 609cfd2..7f2ce61 100644 --- a/live/9/ppc64le/prod/rocky-live-base.ks +++ b/live/9/ppc64le/prod/rocky-live-base.ks @@ -122,6 +122,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/ppc64le/stage/rocky-live-base-spin.ks b/live/9/ppc64le/stage/rocky-live-base-spin.ks index 2d04d83..11aad0f 100644 --- a/live/9/ppc64le/stage/rocky-live-base-spin.ks +++ b/live/9/ppc64le/stage/rocky-live-base-spin.ks @@ -126,6 +126,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/ppc64le/stage/rocky-live-base.ks b/live/9/ppc64le/stage/rocky-live-base.ks index 609cfd2..7f2ce61 100644 --- a/live/9/ppc64le/stage/rocky-live-base.ks +++ b/live/9/ppc64le/stage/rocky-live-base.ks @@ -122,6 +122,9 @@ systemctl disable network rm -f /etc/machine-id touch /etc/machine-id +# relabel +/usr/sbin/restorecon -RF / + %end %post --nochroot # only works on x86_64 diff --git a/live/9/x86_64/peridot/rocky-live-base-spin.ks b/live/9/x86_64/peridot/rocky-live-base-spin.ks index f7bb3d3..a836634 100644 --- a/live/9/x86_64/peridot/rocky-live-base-spin.ks +++ b/live/9/x86_64/peridot/rocky-live-base-spin.ks @@ -125,7 +125,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end %post --nochroot diff --git a/live/9/x86_64/peridot/rocky-live-base.ks b/live/9/x86_64/peridot/rocky-live-base.ks index 6447afd..94ca981 100644 --- a/live/9/x86_64/peridot/rocky-live-base.ks +++ b/live/9/x86_64/peridot/rocky-live-base.ks @@ -121,7 +121,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end %post --nochroot diff --git a/live/9/x86_64/prod/rocky-live-base-spin.ks b/live/9/x86_64/prod/rocky-live-base-spin.ks index f7bb3d3..a836634 100644 --- a/live/9/x86_64/prod/rocky-live-base-spin.ks +++ b/live/9/x86_64/prod/rocky-live-base-spin.ks @@ -125,7 +125,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end %post --nochroot diff --git a/live/9/x86_64/prod/rocky-live-base.ks b/live/9/x86_64/prod/rocky-live-base.ks index 6447afd..94ca981 100644 --- a/live/9/x86_64/prod/rocky-live-base.ks +++ b/live/9/x86_64/prod/rocky-live-base.ks @@ -121,7 +121,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end %post --nochroot diff --git a/live/9/x86_64/stage/rocky-live-base-spin.ks b/live/9/x86_64/stage/rocky-live-base-spin.ks index f7bb3d3..a836634 100644 --- a/live/9/x86_64/stage/rocky-live-base-spin.ks +++ b/live/9/x86_64/stage/rocky-live-base-spin.ks @@ -125,7 +125,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end %post --nochroot diff --git a/live/9/x86_64/stage/rocky-live-base.ks b/live/9/x86_64/stage/rocky-live-base.ks index 6447afd..94ca981 100644 --- a/live/9/x86_64/stage/rocky-live-base.ks +++ b/live/9/x86_64/stage/rocky-live-base.ks @@ -121,7 +121,7 @@ rm -f /etc/machine-id touch /etc/machine-id # relabel -restorecon -R / +/usr/sbin/restorecon -RF / %end %post --nochroot