aboutsummaryrefslogtreecommitdiffstats
path: root/roles/netinstall
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-06-15 13:58:11 +0800
committerAaron LI <aly@aaronly.me>2017-06-15 13:58:11 +0800
commit0ef861cde7f5da8c3406dfdb0353832db007bf48 (patch)
treedea9f47a255b22e6611bb3006b84c2c86da30515 /roles/netinstall
parent36566bb966db57f0a90a545504b4443196b720a7 (diff)
downloaddebian-hpc-0ef861cde7f5da8c3406dfdb0353832db007bf48.tar.bz2
netinstall: set uid=999 for first normal user (can do sudo)
Diffstat (limited to 'roles/netinstall')
-rw-r--r--roles/netinstall/templates/debian.preseed.cfg.j22
1 files changed, 1 insertions, 1 deletions
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.