[Libosinfo] [PATCH 1/4] install-script, rhel: Specify installation method/source

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Fri Nov 29 18:02:34 UTC 2013


This is the same change as we made to fedora install script in commit
d04f022cc30d03f451e27284b6311309cf1dee9f.

While installation method/source has always been mandatory, Anaconda
has ignored us not specifying it so far. Our luck runs out in RHEL 7
though, where unattended installation breaks if this is not explicitly
specified.
---
 data/install-scripts/rhel.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/data/install-scripts/rhel.xml b/data/install-scripts/rhel.xml
index 980814b..d4b6938 100644
--- a/data/install-scripts/rhel.xml
+++ b/data/install-scripts/rhel.xml
@@ -51,6 +51,7 @@
         <xsl:template match="/install-script-config">
 # Install script for <xsl:value-of select="os/short-id"/> profile <xsl:value-of select="script/profile"/>
 install
+cdrom
 text
 <!-- FIXME: RHEL requires keyboard layout to be a console layout so to do this right, we'll need
             mapping from language to console layout. -->
@@ -152,6 +153,7 @@ reboot
         <xsl:template match="/install-script-config">
 # Install script for <xsl:value-of select="os/short-id"/> profile <xsl:value-of select="script/profile"/>
 install
+cdrom
 keyboard us
 lang <xsl:value-of select="config/l10n-language"/>
 network --onboot yes --device eth0 --bootproto dhcp --noipv6 --hostname=<xsl:value-of select="config/hostname"/>
-- 
1.8.4.2




More information about the Libosinfo mailing list