Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images: Update RHEL 9.0 beta image URLs #1955

Merged
merged 2 commits into from
Apr 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion images/rhel-9-0
2 changes: 1 addition & 1 deletion images/scripts/rhel-9-0.bootstrap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -ex

URL=http://download.devel.redhat.com/rhel-9/nightly/RHEL-9/latest-RHEL-9.0/compose/BaseOS/x86_64/images/
URL=http://download.devel.redhat.com/rhel-9/nightly/RHEL-9-Beta/latest-RHEL-9.0/compose/BaseOS/x86_64/images/
IMAGE=$(curl -L -s "$URL" | sed -n '/<a href=.*rhel-guest-image.*qcow2"/ { s/^.*href="//; s_".*$__; p }')
[ -n "$IMAGE" ]

Expand Down
4 changes: 2 additions & 2 deletions images/scripts/rhel.setup
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ EOF
case "$IMAGE" in
rhel-8-4) REPO="rhel-8/nightly/RHEL-8/latest-RHEL-8.4" ;;
rhel-8-5) REPO="rhel-8/nightly/RHEL-8/latest-RHEL-8.5" ;;
rhel-9-0) REPO="rhel-9/nightly/RHEL-9/latest-RHEL-9.0" ;;
rhel-9-0) REPO="rhel-9/nightly/RHEL-9-Beta/latest-RHEL-9.0" ;;
*) echo "Unknown image $IMAGE"; exit 1
esac
cat <<EOF > /etc/yum.repos.d/nightly.repo
Expand Down Expand Up @@ -257,7 +257,7 @@ EOF
case "$IMAGE" in
rhel-8-4) REPO="rhel-8.4.0-build" ;;
rhel-8-5) REPO="rhel-8.5.0-build" ;;
rhel-9-0) REPO="rhel-9.0.0-alpha-build" ;;
rhel-9-0) REPO="rhel-9.0.0-beta-build" ;;
*) echo "Unknown image $IMAGE"; exit 1
esac

Expand Down