summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2015-04-21 11:48:21 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2015-04-21 11:48:21 -0700
commitab04d7a3e0d210805c9db99bf43eb47808809758 (patch)
treea33a282a9d0cff28a343248c4333448652546149
parent341a805fca9a06ce12e9f4bbbe15b3dded9eb6a4 (diff)
parentb05d0d54d29553e1fe1961ccc64da7d0b45016dd (diff)
downloadvyos-cloud-init-ab04d7a3e0d210805c9db99bf43eb47808809758.tar.gz
vyos-cloud-init-ab04d7a3e0d210805c9db99bf43eb47808809758.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',