bugfix env location

This commit is contained in:
pedro 2024-09-24 10:57:01 -03:00
parent a60a6e6539
commit 65a0137f86
1 changed files with 2 additions and 2 deletions

View File

@ -57,9 +57,9 @@ END
init_config() {
if [ -f ./.env ]; then
. ./env
. ./.env
else
echo 'WARNING: ./env does not exist, cannot read config from there'
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}"