Skip to content

Commit

Permalink
Disable first run wizard if DISABLE_FIRST_BOOT_USER_RENAME is set
Browse files Browse the repository at this point in the history
  • Loading branch information
XECDesign committed Sep 22, 2022
1 parent 8a42abc commit 6a61be9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions export-image/01-user-rename/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ if [[ "${DISABLE_FIRST_BOOT_USER_RENAME}" == "0" ]]; then
on_chroot <<- EOF
SUDO_USER="${FIRST_USER_NAME}" rename-user -f -s
EOF
else
rm -f "${ROOTFS_DIR}/etc/xdg/autostart/piwiz.desktop"
fi

0 comments on commit 6a61be9

Please sign in to comment.