File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -530,23 +530,23 @@ endif::[]
530530ifeval::["{build}" != "downstream"]
531531 edpm_bootstrap_command: |
532532 # This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream
533- sudo set -euxo pipefail
533+ set -euxo pipefail
534534 curl -sL https://github.com/openstack-k8s-operators/repo-setup/archive/refs/heads/main.tar.gz | tar -xz
535535 python3 -m venv ./venv
536536 PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-main
537537 # This is required for FIPS enabled until trunk.rdoproject.org
538538 # is not being served from a centos7 host, tracked by
539539 # https://issues.redhat.com/browse/RHOSZUUL-1517
540540 sudo dnf -y install crypto-policies
541- update-crypto-policies --set FIPS:NO-ENFORCE-EMS
542- ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
541+ sudo update-crypto-policies --set FIPS:NO-ENFORCE-EMS
542+ sudo ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
543543 sudo dnf -y upgrade openstack-selinux
544544 sudo rm -f /run/virtlogd.pid
545545 sudo rm -rf repo-setup-main
546546endif::[]
547547ifeval::["{build}" == "downstream"]
548548 edpm_bootstrap_command: |
549- sudo set -euxo pipefail
549+ set -euxo pipefail
550550 sudo dnf -y upgrade openstack-selinux
551551 sudo rm -f /run/virtlogd.pid
552552endif::[]
Original file line number Diff line number Diff line change @@ -235,16 +235,16 @@ endif::[]
235235ifeval::["{build}" != "downstream"]
236236 edpm_bootstrap_command: |
237237 # This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream
238- sudo set -euxo pipefail
238+ set -euxo pipefail
239239 curl -sL https://github.com/openstack-k8s-operators/repo-setup/archive/refs/heads/main.tar.gz | tar -xz
240240 python3 -m venv ./venv
241241 PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-main
242242 # This is required for FIPS enabled until trunk.rdoproject.org
243243 # is not being served from a centos7 host, tracked by
244244 # https://issues.redhat.com/browse/RHOSZUUL-1517
245245 sudo dnf -y install crypto-policies
246- update-crypto-policies --set FIPS:NO-ENFORCE-EMS
247- ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
246+ sudo update-crypto-policies --set FIPS:NO-ENFORCE-EMS
247+ sudo ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
248248 sudo rm -rf repo-setup-main
249249endif::[]
250250
Original file line number Diff line number Diff line change @@ -193,16 +193,16 @@ endif::[]
193193ifeval::["{build}" != "downstream"]
194194 edpm_bootstrap_command: |
195195 # This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream
196- sudo set -euxo pipefail
196+ set -euxo pipefail
197197 curl -sL https://github.com/openstack-k8s-operators/repo-setup/archive/refs/heads/main.tar.gz | tar -xz
198198 python3 -m venv ./venv
199199 PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-main
200200 # This is required for FIPS enabled until trunk.rdoproject.org
201201 # is not being served from a centos7 host, tracked by
202202 # https://issues.redhat.com/browse/RHOSZUUL-1517
203203 sudo dnf -y install crypto-policies
204- update-crypto-policies --set FIPS:NO-ENFORCE-EMS
205- ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
204+ sudo update-crypto-policies --set FIPS:NO-ENFORCE-EMS
205+ sudo ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
206206 sudo dnf -y upgrade openstack-selinux
207207 sudo rm -f /run/virtlogd.pid
208208 sudo rm -rf repo-setup-main
You can’t perform that action at this time.
0 commit comments