summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2013-11-22 13:35:21 +0000
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2013-12-04 19:46:10 +0000
commit89d7bd7596d89bbca1edace0fd0c2a7831a4ee6f (patch)
tree33cbab0f6ed6ea72c78a823c8cee186d7ce94d79
parent2132980ec6f9d747da644d80c46711c30855f072 (diff)
downloadlibosinfo-89d7bd7596d89bbca1edace0fd0c2a7831a4ee6f.tar.gz
install-script,rhel: Specify installation method/source
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.
-rw-r--r--data/install-scripts/rhel.xml2
1 files changed, 2 insertions, 0 deletions
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"/>