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

Fabiano Fidêncio fidencio at redhat.com
Wed Feb 20 16:21:45 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>
---
 .../install-script/centos.org/centos-kickstart-desktop.xml.in | 4 ++--
 data/install-script/centos.org/centos-kickstart-jeos.xml.in   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/data/install-script/centos.org/centos-kickstart-desktop.xml.in b/data/install-script/centos.org/centos-kickstart-desktop.xml.in
index 60a4952..8702720 100644
--- a/data/install-script/centos.org/centos-kickstart-desktop.xml.in
+++ b/data/install-script/centos.org/centos-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/centos.org/centos-kickstart-jeos.xml.in b/data/install-script/centos.org/centos-kickstart-jeos.xml.in
index 3feafec..0caf4f6 100644
--- a/data/install-script/centos.org/centos-kickstart-jeos.xml.in
+++ b/data/install-script/centos.org/centos-kickstart-jeos.xml.in
@@ -5,7 +5,7 @@
     <profile>jeos</profile>
     <expected-filename>centos.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