-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'arch-cloud-init-0-7-6-user-id' (pull request #52)
- Loading branch information
Showing
4 changed files
with
60 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
From b05d0d54d29553e1fe1961ccc64da7d0b45016dd Mon Sep 17 00:00:00 2001 | ||
From: Gerhard Muntingh <[email protected]> | ||
Date: Tue, 14 Apr 2015 15:20:39 +0200 | ||
Subject: Add functionality to fixate the uid of a newly added user. | ||
|
||
|
||
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py | ||
index ab874b4..b297c78 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', | ||
-- | ||
cgit v0.10.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters