Update default root and user password

This commit is contained in:
Tobias Stein 2022-05-02 07:50:42 +02:00
parent 0df15e5da1
commit 4255871d36
3 changed files with 9 additions and 5 deletions

View File

@ -133,7 +133,7 @@ und es mit dem zweiten Netzwerkport des FAI-Servers zu verbinden.
|ipxe_additional_entries |Zusätzliche Einträge für iPXE-Menu |keine |
|use_apt_cache_for_server |Apt Cache für den Server selbst verwenden |`false` |
|fai_hw4f_profile_username |Desktop Benutzername |`user` |
|fai_hw4f_profile_password |Passwort der Benutzers |`fai` |
|fai_hw4f_profile_password |Passwort der Benutzers |`dezentrale` |
Beispielsweise kann der Server mit obigen Playbook aufgesetzt werden,
eine Rechner mit Ubuntu installiert werden und

View File

@ -17,7 +17,7 @@ fai_profiles_archive: "config.tar"
fai_squashfs_file: "squash.img"
fai_hw4f_profile_username: user
fai_hw4f_profile_password: fai
fai_hw4f_profile_password: dezentrale
tftp_dir: "/srv/tftp/fai"
http_mirror_ipxe_path_prefix: "ipxe"

View File

@ -39,9 +39,13 @@
KEYMAP=de-latin1-nodeadkeys
# start user and password
username={{fai_hw4f_profile_username}}
USERPW='{{fai_hw4f_profile_password |password_hash("sha512")}}'
ROOTPW='{{ fai_hw4f_profile_password |password_hash("sha512")}}'
# START USER AND PASSWORD
username={{ fai_hw4f_profile_username }}
USERPW='{{ fai_hw4f_profile_password |password_hash("sha512")}}'
SUPRESS_GNOME_INITIAL_SCREEN=1
dest: "{{ fai_configdir }}/class/HW4F_DESKTOP.var"
owner: root
group: root