Compare commits
No commits in common. "bbfb5864fdb68c00924b8ba5639a0b7217fba58a" and "e8433b3bbe2be6e666cb9d24e6619b190052b4fb" have entirely different histories.
bbfb5864fd
...
e8433b3bbe
|
@ -199,12 +199,7 @@ create_persistence_partition() {
|
|||
mkdir -p "${tmp_rw_mount}"
|
||||
${SUDO} mount "$(pwd)/${rw_img_path}" "${tmp_rw_mount}"
|
||||
${SUDO} mkdir -p "${tmp_rw_mount}/settings"
|
||||
if [ -f "settings.ini" ]; then
|
||||
${SUDO} cp -v settings.ini "${tmp_rw_mount}/settings/settings.ini"
|
||||
else
|
||||
echo "ERROR: settings.ini does not exist yet, cannot read config from there. You can take inspiration with file settings.ini.example"
|
||||
exit 1
|
||||
fi
|
||||
${SUDO} cp -v settings.ini "${tmp_rw_mount}/settings/settings.ini"
|
||||
${SUDO} umount "${tmp_rw_mount}"
|
||||
|
||||
uuid="$(blkid "${rw_img_path}" | awk '{ print $3; }')"
|
||||
|
|
|
@ -62,7 +62,7 @@ init_config() {
|
|||
if [ -f ./.env ]; then
|
||||
. ./.env
|
||||
else
|
||||
echo 'WARNING: .env does not exist yet, cannot read config from there. You can take inspiration with file .env.example'
|
||||
echo 'WARNING: ./.env does not exist yet, cannot read config from there. You can take inspiration in file ./.env.example'
|
||||
fi
|
||||
VERSION_CODENAME="${VERSION_CODENAME:-bookworm}"
|
||||
tftp_path="${tftp_path:-/srv/pxe-tftp}"
|
||||
|
|
Loading…
Reference in a new issue