[Libosinfo] [osinfo-db 4/4] rhel, kickstart: Fix password requirements

Fabiano Fidêncio fidencio at redhat.com
Wed Feb 20 16:21:48 UTC 2019


"desktop" installations can be done passwordless; "jeos" installations
require a password to be set.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/install-script/redhat.com/rhel-kickstart-desktop.xml.in | 4 ++--
 data/install-script/redhat.com/rhel-kickstart-jeos.xml.in    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in
index 388d6d7..dfed40d 100644
--- a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in
+++ b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in
@@ -10,8 +10,8 @@
         <param name="l10n-timezone" policy="optional"/>
         <param name="hostname" policy="optional"/>
         <param name="user-login" policy="required"/>
-        <param name="user-password" policy="required"/>
-        <param name="admin-password" policy="required"/>
+        <param name="user-password" policy="optional"/>
+        <param name="admin-password" policy="optional"/>
         <param name="avatar-location" policy="optional"/>
         <param name="avatar-disk" policy="optional"/>
         <param name="target-disk" policy="optional"/>
diff --git a/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in b/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in
index db7ec7f..006e362 100644
--- a/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in
+++ b/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in
@@ -5,7 +5,7 @@
     <profile>jeos</profile>
     <expected-filename>rhel.ks</expected-filename>
     <config>
-      <param name="admin-password" policy="optional"/>
+      <param name="admin-password" policy="required"/>
       <param name="l10n-keyboard" policy="optional"/>
       <param name="l10n-language" policy="optional"/>
       <param name="l10n-timezone" policy="optional"/>
-- 
2.20.1




More information about the Libosinfo mailing list