Skip to content

Commit f048611

Browse files
committed
added sudo to bootstrap command
1 parent 5d24308 commit f048611

3 files changed

Lines changed: 16 additions & 16 deletions

docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -530,25 +530,25 @@ endif::[]
530530
ifeval::["{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-
set -euxo pipefail
533+
sudo 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
540-
dnf -y install crypto-policies
540+
sudo dnf -y install crypto-policies
541541
update-crypto-policies --set FIPS:NO-ENFORCE-EMS
542542
./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
543-
dnf -y upgrade openstack-selinux
544-
rm -f /run/virtlogd.pid
545-
rm -rf repo-setup-main
543+
sudo dnf -y upgrade openstack-selinux
544+
sudo rm -f /run/virtlogd.pid
545+
sudo rm -rf repo-setup-main
546546
endif::[]
547547
ifeval::["{build}" == "downstream"]
548548
edpm_bootstrap_command: |
549-
set -euxo pipefail
550-
dnf -y upgrade openstack-selinux
551-
rm -f /run/virtlogd.pid
549+
sudo set -euxo pipefail
550+
sudo dnf -y upgrade openstack-selinux
551+
sudo rm -f /run/virtlogd.pid
552552
endif::[]
553553
554554
gather_facts: false

docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,17 +235,17 @@ endif::[]
235235
ifeval::["{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-
set -euxo pipefail
238+
sudo 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
245-
dnf -y install crypto-policies
245+
sudo dnf -y install crypto-policies
246246
update-crypto-policies --set FIPS:NO-ENFORCE-EMS
247247
./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
248-
rm -rf repo-setup-main
248+
sudo rm -rf repo-setup-main
249249
endif::[]
250250
251251
gather_facts: false

docs_user/modules/proc_converting-object-storage-nodes.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,19 +193,19 @@ endif::[]
193193
ifeval::["{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-
set -euxo pipefail
196+
sudo 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
203-
dnf -y install crypto-policies
203+
sudo dnf -y install crypto-policies
204204
update-crypto-policies --set FIPS:NO-ENFORCE-EMS
205205
./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
206-
dnf -y upgrade openstack-selinux
207-
rm -f /run/virtlogd.pid
208-
rm -rf repo-setup-main
206+
sudo dnf -y upgrade openstack-selinux
207+
sudo rm -f /run/virtlogd.pid
208+
sudo rm -rf repo-setup-main
209209
endif::[]
210210
ifeval::["{build}" == "downstream"]
211211
rhc_release: 9.2

0 commit comments

Comments
 (0)