Comment 2 for bug 1396362

Revision history for this message
Chris Vigelius (chris-vigelius) wrote : Re: Support UID and GID specification in user and group definitions

+1 for this, this is literally an one-liner and helpful in many situations:

--- cloudinit/distros/__init__.py 2015-01-26 16:14:06 +0000
+++ cloudinit/distros/__init__.py 2015-03-19 13:51:20 +0000
@@ -324,6 +324,7 @@
             "expiredate": '--expiredate',
             "inactive": '--inactive',
             "selinux_user": '--selinux-user',
+ "uid": '--uid',
         }

         adduser_flags = {