-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add RHEL 10 platform support #1070
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Default RHEL10 packages section (empty) | ||
%packages | ||
%end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ostreecontainer --no-signature-verification --transport=registry --url=quay.io/centos-bootc/centos-bootc:stream10 | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# RHEL 10 packages section from unified DVD. | ||
# The unified DVD should contain under one link both BaseOS and AppStream so install AppStream specific package. | ||
|
||
%packages | ||
# Anaconda package is part of the AppStream repository. It is not contained in the BaseOS. | ||
anaconda | ||
%end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Default RHEL10 repositories - BeseOS + AppStream or unified repo can be used | ||
url --url @KSTEST_URL@ | ||
repo --name=appstream --baseurl @KSTEST_MODULAR_URL@ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Unified ISO for RHEL-10 served on NFS server | ||
nfs --server NFS_SERVER --dir NFS_DIR |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Unified ISO for RHEL 10 served on http server | ||
# BaseOS and AppStream repositories should be loaded automatically from the unified repo | ||
url RHEL10_UNIFIED_REPO_URL_GOES_HERE |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Create a variable in the %pre section with a link to the archived repository of Hello Word. | ||
# The curl tool will download this archive and unpack it in the system. | ||
ADDON_SOURCE="https://github.com/rhinstaller/hello-world-anaconda-addon/archive/master.tar.gz" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Create a variable in the pre/post section with link to a RHEL DVD. | ||
# The curl tool will download this ISO and it will be processed later in the section. | ||
_LINK=<ADD_LINK_TO_RHEL-10_ISO_HERE> | ||
ISO_LOCATION="$(curl -L $_LINK | grep -Po "RHEL-10.*?-x86_64-dvd1.iso" | head -n 1)" | ||
ISO_LOCATION="${_LINK}/${ISO_LOCATION}" | ||
|
||
echo $ISO_LOCATION |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Create a variable in the pre/post section with link to a RHEL-10 unified ISO | ||
# The curl tool will download this ISO and it will be processed later in the section. | ||
ISO_LOCATION=<link to a unified ISO> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Set up the timezone. | ||
timezone --utc Europe/Prague | ||
|
||
# Disable NTP. | ||
timesource --ntp-disable |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Set up the timezone. | ||
timezone --utc Europe/Prague | ||
|
||
# Enable NTP. | ||
timesource --ntp-server ntp.cesnet.cz |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Validate installed packages on RHEL 10 system. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are these copied from somewhere? Should they maybe be symlinks to some common files? Just asking for possible followup improvements, not nacking this :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe, I think we haven't been using (modifying) this structure enough to start thinking about it yet (copied the stuff so far). |
||
|
||
# Check that the anaconda package was correctly installed. | ||
if ! rpm -q anaconda ; then | ||
echo '*** anaconda package was not installed!' >> /root/RESULT | ||
fi |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Default settings for testing RHEL 10. This requires being inside the Red Hat VPN. | ||
|
||
source network-device-names.cfg | ||
export KSTEST_URL='http://download.eng.bos.redhat.com/rhel-10/nightly/RHEL-10-Public-Beta/latest-RHEL-10.0/compose/BaseOS/x86_64/os/' | ||
export KSTEST_MODULAR_URL='http://download.eng.bos.redhat.com/rhel-10/nightly/RHEL-10-Public-Beta/latest-RHEL-10.0/compose/AppStream/x86_64/os/' | ||
export KSTEST_FTP_URL='ftp://ftp.tu-chemnitz.de/pub/linux/fedora/linux/development/rawhide/Everything/$basearch/os/' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this non-standard mirror ok for the ftp? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is not, but we don't have a better one. The ftp test (the one using this var) is disabled on rhel. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not available and probably won't be anytime soon, so tests depending on this fragment will fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's ok, we will see it and address it separately.