Open main menu

CDOT Wiki β

Changes

OPS245 Lab 2 dev

No change in size, 16:53, 29 January 2023
Part 3: Installing from a Network using a Kickstart File
# Perform a <code><span style="color:#3366CC;font-size:1.2em;">'''dnf update'''</span></code>. Notice you receive a message telling you the system is not registered with an entitlement server. That is because the kickstart file did not attach a subscription for you.
# Attach a subscription using the subscription-manager cli tool. This will register your system with Red Hat (using your Red Hat account) like we did in the installation for r9host, rhel1 and rhel2; just as a post installation task. Issue the following commands to set the system purpose (just like we did graphically through the installer):
## <code><span style="color:#3366CC;font-size:1.2em;">sudo subscription-manager syspurpose role --set "Red Hat Enterprise Linux Server"</codespan></spancode>## <code><span style="color:#3366CC;font-size:1.2em;">sudo subscription-manager syspurpose service-level --set Self-Support</codespan></spancode>## <code><span style="color:#3366CC;font-size:1.2em;">sudo subscription-manager syspurpose usage --set Development/Test</codespan></spancode>
# Now use the following command to register your system and attach your subscription. Enter your Red Hat account credentials (which you created in Lab 1) when prompted:
## <code><span style="color:#3366CC;font-size:1.2em;">sudo subscription-manager register</codespan></spancode>## <code><span style="color:#3366CC;font-size:1.2em;">sudo subscription-manager attach</codespan></spancode>
# Try updating your system again with dnf. This time it should succeed.
# Record the time taken to install, and compare this to the time taken by the previous installations in your lab2 logbook.