bugfix env location
This commit is contained in:
parent
d82d49c3a8
commit
ce650945ed
|
@ -57,9 +57,9 @@ END
|
||||||
|
|
||||||
init_config() {
|
init_config() {
|
||||||
if [ -f ./.env ]; then
|
if [ -f ./.env ]; then
|
||||||
. ./env
|
. ./.env
|
||||||
else
|
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
|
fi
|
||||||
VERSION_CODENAME="${VERSION_CODENAME:-bookworm}"
|
VERSION_CODENAME="${VERSION_CODENAME:-bookworm}"
|
||||||
tftp_path="${tftp_path:-/srv/pxe-tftp}"
|
tftp_path="${tftp_path:-/srv/pxe-tftp}"
|
||||||
|
|
Loading…
Reference in a new issue