[Libosinfo] [osinfo-db 04/11] install-script, opensuse: Leave the user creation to the XML
Fabiano Fidêncio
fidencio at redhat.com
Tue Apr 18 21:29:24 UTC 2017
From: Fabiano Fidêncio <fabiano at fidencio.org>
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 at fidencio.org>
---
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
More information about the Libosinfo
mailing list