[osinfo-db 04/11] install-script, opensuse: Leave the user creation to the XML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Fabiano Fidêncio <fabiano@xxxxxxxxxxxx>

There's no need to create the user both manually and through the <users>
attribute of autoyast XML.

Signed-off-by: Fabiano Fidêncio <fabiano@xxxxxxxxxxxx>
---
 data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in b/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in
index 6fd1b03..c233470 100644
--- a/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in
+++ b/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in
@@ -246,13 +246,6 @@ pam-config -a --unix-nullok
 pam-config -a --nullok
 
 <xsl:choose>
-  <xsl:when test="config/user-password != ''">
-useradd <xsl:value-of select='config/user-login'/>
-passwd -d <xsl:value-of select='config/user-login'/>
-  </xsl:when>
-</xsl:choose>
-
-<xsl:choose>
   <xsl:when test="config/avatar-location != ''">
 # Set user avatar
 mkdir /mnt/unattended-media
-- 
2.9.3

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux