Skip to content

Commit

Permalink
build: disable first user rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Dahan committed Sep 20, 2024
1 parent 427ae75 commit f85ee69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions utilities/build/config.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ TIMEZONE_DEFAULT="America/New_York"
KEYBOARD_LAYOUT="English (US)"
FIRST_USER_NAME="pi"
FIRST_USER_PASS="$FIRST_USER_PASS"
DISABLE_FIRST_BOOT_USER_RENAME="1"
WPA_COUNTRY="US"
ENABLE_SSH="1"
DEPLOY_COMPRESSION="xz"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ install -d "${ROOTFS_DIR}/usr/lib/userpass-pi"
install -m 755 files/usr/lib/userpass-pi/userpass-service "${ROOTFS_DIR}/usr/lib/userpass-pi/userpass-service"

on_chroot << EOF
systemctl disable userconfig.service
systemctl mask userconfig.service
systemctl enable userpass.service
EOF

Expand Down

0 comments on commit f85ee69

Please sign in to comment.