fix(os): Write root password with specific --crypt-method (#3)

This commit is contained in:
hygienic-books 2023-10-20 19:01:59 +02:00
parent 7093621049
commit 7a07b18156

View File

@ -641,7 +641,7 @@ function install_os_in_chroot () {
function set_root_pw () {
#3.2
printf -- '%s\n' 'root:password' | chpasswd --root '/mnt'
printf -- '%s\n' 'root:password' | chpasswd --crypt-method 'SHA512' --root '/mnt'
}
function configure_networking () {