summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Muntingh <gerhard@qux.nl>2015-04-14 15:20:39 +0200
committerGerhard Muntingh <gerhard@qux.nl>2015-04-14 15:20:39 +0200
commitb05d0d54d29553e1fe1961ccc64da7d0b45016dd (patch)
treea8689ff61aa68f8a7c7cd25ef6ba35e29229600d
parentf4789639af50ea631cf75af526ad013b05670caa (diff)
downloadvyos-cloud-init-b05d0d54d29553e1fe1961ccc64da7d0b45016dd.tar.gz
vyos-cloud-init-b05d0d54d29553e1fe1961ccc64da7d0b45016dd.zip
Add functionality to fixate the uid of a newly added user.
-rw-r--r--cloudinit/distros/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index ab874b45..b297c78b 100644
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -318,6 +318,7 @@ class Distro(object):
"gecos": '--comment',
"homedir": '--home',
"primary_group": '--gid',
+ "uid": '--uid',
"groups": '--groups',
"passwd": '--password',
"shell": '--shell',