pull/423/merge
Francis Turner 2020-08-25 16:52:58 +00:00 committed by GitHub
commit a32d475c07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -45,6 +45,12 @@ for GRP in adm dialout cdrom audio users sudo video games plugdev input gpio spi
done
EOF
# Add line to replace the username for pi in sudoers.d/010_pi-nopasswd
on_chroot <<EOF
sed "s/pi/$FIRST_USER_NAME/" -i /etc/sudoers.d/010_pi-nopasswd
EOF
# End replace username
on_chroot << EOF
setupcon --force --save-only -v
EOF