summaryrefslogtreecommitdiffstats
path: root/instdata.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-07-06 17:44:13 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-07-20 14:14:26 -1000
commitee889790b3f25d50f79784a6b318a12b002ce269 (patch)
treea29ae65758a88c914a9da86462628898f6bdedcb /instdata.py
parentc066e28c572df081eea2ef23346c94f357b5545f (diff)
downloadanaconda-ee889790b3f25d50f79784a6b318a12b002ce269.tar.gz
anaconda-ee889790b3f25d50f79784a6b318a12b002ce269.tar.xz
anaconda-ee889790b3f25d50f79784a6b318a12b002ce269.zip
Set GECOS field for new user accounts specific in ks files
Honor the --gecos argument to the user command in kickstart files.
Diffstat (limited to 'instdata.py')
-rw-r--r--instdata.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/instdata.py b/instdata.py
index 7e441772d..488616ba9 100644
--- a/instdata.py
+++ b/instdata.py
@@ -198,7 +198,8 @@ class InstallData:
uid=ud.uid,
algo=self.getPassAlgo(),
lock=ud.lock,
- root=self.anaconda.rootPath):
+ root=self.anaconda.rootPath,
+ gecos=ud.gecos):
log.error("User %s already exists, not creating." % ud.name)