File tree 1 file changed +2
-6
lines changed 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -85,17 +85,13 @@ case "${ID}-${VERSION_ID}" in
85
85
OSTREE_REF=" rhel/9/${ARCH} /edge"
86
86
OS_VARIANT=" rhel9-unknown"
87
87
BOOT_LOCATION=" http://${DOWNLOAD_NODE} /rhel-9/nightly/RHEL-9/latest-RHEL-9.6.0/compose/BaseOS/x86_64/os/"
88
- sed -i " s/REPLACE_ME_HERE/${DOWNLOAD_NODE} /g" files/rhel-9-6-0.json
89
- sudo cp files/rhel-9-6-0.json /etc/osbuild-composer/repositories/rhel-9-6-0.json
90
- ;;
88
+ sed " s/REPLACE_ME_HERE/${DOWNLOAD_NODE} /g" files/rhel-9-6-0.json | sudo tee /etc/osbuild-composer/repositories/rhel-96.json > /dev/null;;
91
89
" centos-9" )
92
90
OSTREE_REF=" centos/9/${ARCH} /edge"
93
91
OS_VARIANT=" centos-stream9"
94
92
BOOT_ARGS=" uefi,firmware.feature0.name=secure-boot,firmware.feature0.enabled=no"
95
93
BOOT_LOCATION=" https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/BaseOS/x86_64/os/"
96
- sed -i " s/REPLACE_ME_HERE/${DOWNLOAD_NODE} /g" files/centos-stream-9.json
97
- sudo cp files/centos-stream-9.json /etc/osbuild-composer/repositories/centos-stream-9.json
98
- ;;
94
+ sudo cp files/centos-stream-9.json /etc/osbuild-composer/repositories/centos-9.json;;
99
95
* )
100
96
echo " unsupported distro: ${ID} -${VERSION_ID} "
101
97
exit 1;;
You can’t perform that action at this time.
0 commit comments