From 0ef861cde7f5da8c3406dfdb0353832db007bf48 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 15 Jun 2017 13:58:11 +0800 Subject: netinstall: set uid=999 for first normal user (can do sudo) --- roles/netinstall/templates/debian.preseed.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/netinstall/templates') diff --git a/roles/netinstall/templates/debian.preseed.cfg.j2 b/roles/netinstall/templates/debian.preseed.cfg.j2 index 30c3e53..7f03abe 100644 --- a/roles/netinstall/templates/debian.preseed.cfg.j2 +++ b/roles/netinstall/templates/debian.preseed.cfg.j2 @@ -138,7 +138,7 @@ d-i passwd/user-password-again password {{ node_user_pass }} # or encrypted using a crypt(3) hash. #d-i passwd/user-password-crypted password [crypt(3) hash] # Create the first user with the specified UID instead of the default. -#d-i passwd/user-uid string 1010 +d-i passwd/user-uid string {{ node_user_uid }} # The user account will be added to some standard initial groups. To # override that, use this. -- cgit v1.2.2