aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-06-16 09:01:00 +0800
committerAaron LI <aly@aaronly.me>2017-06-16 09:01:00 +0800
commit916be89bd81f890e993cea8bb89d7501e5883c9c (patch)
treeba4b7bc4e8d005bf9f894128e99a3d2b9bd3db78 /roles
parent3163245ed8a159680880ae9e31209521a0f89517 (diff)
downloaddebian-hpc-916be89bd81f890e993cea8bb89d7501e5883c9c.tar.bz2
netinstall: do not create normal (sudo) user; only root
Diffstat (limited to 'roles')
-rw-r--r--roles/netinstall/templates/debian.preseed.cfg.j212
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/netinstall/templates/debian.preseed.cfg.j2 b/roles/netinstall/templates/debian.preseed.cfg.j2
index 7f03abe..4490067 100644
--- a/roles/netinstall/templates/debian.preseed.cfg.j2
+++ b/roles/netinstall/templates/debian.preseed.cfg.j2
@@ -121,7 +121,7 @@ d-i mirror/http/proxy string
# use sudo).
#d-i passwd/root-login boolean false
# Alternatively, to skip creation of a normal user account.
-#d-i passwd/make-user boolean false
+d-i passwd/make-user boolean false
# Root password, either in clear text
d-i passwd/root-password password {{ node_root_pass }}
@@ -130,15 +130,15 @@ d-i passwd/root-password-again password {{ node_root_pass }}
#d-i passwd/root-password-crypted password [crypt(3) hash]
# To create a normal user account.
-d-i passwd/user-fullname string {{ node_user_fullname }}
-d-i passwd/username string {{ node_user_name }}
+#d-i passwd/user-fullname string {{ node_user_fullname }}
+#d-i passwd/username string {{ node_user_name }}
# Normal user's password, either in clear text
-d-i passwd/user-password password {{ node_user_pass }}
-d-i passwd/user-password-again password {{ node_user_pass }}
+#d-i passwd/user-password password {{ node_user_pass }}
+#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 {{ node_user_uid }}
+#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.