diff options
-rw-r--r-- | group_vars/master | 4 | ||||
-rw-r--r-- | roles/netinstall/templates/debian.preseed.cfg.j2 | 12 |
2 files changed, 6 insertions, 10 deletions
diff --git a/group_vars/master b/group_vars/master index c30ffdb..8f2e02f 100644 --- a/group_vars/master +++ b/group_vars/master @@ -35,8 +35,4 @@ tftp_root: /srv/tftp # for LAN nodes. apt_mirror: ftp.sjtu.edu.cn -# UID of the first normal user created (can do sudo, which should -# be used as the admin user later.) -node_user_uid: 999 - # vim: set ft=yaml sw=2: 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. |