From 916be89bd81f890e993cea8bb89d7501e5883c9c Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 16 Jun 2017 09:01:00 +0800 Subject: netinstall: do not create normal (sudo) user; only root --- roles/netinstall/templates/debian.preseed.cfg.j2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'roles') 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. -- cgit v1.2.2