8 lines
152 B
Bash
Executable File
8 lines
152 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
if [[ "${DISABLE_FIRST_BOOT_USER_RENAME}" == "0" ]]; then
|
|
on_chroot <<- EOF
|
|
SUDO_USER="${FIRST_USER_NAME}" rename-user -f -s
|
|
EOF
|
|
fi
|