feature: workbench pxe #2
|
@ -34,7 +34,7 @@ END
|
||||||
if [ -f "settings.ini" ]; then
|
if [ -f "settings.ini" ]; then
|
||||||
cp settings.ini "${nfs_path}/settings.ini"
|
cp settings.ini "${nfs_path}/settings.ini"
|
||||||
else
|
else
|
||||||
echo "ERROR: ../settings.ini does not exist yet, cannot read config from there. You can take inspiration with file ../settings.ini.example"
|
echo "ERROR: $(pwd)/settings.ini does not exist yet, cannot read config from there. You can take inspiration with file $(pwd)/settings.ini.example"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -89,7 +89,7 @@ init_config() {
|
||||||
if [ -f ./.env ]; then
|
if [ -f ./.env ]; then
|
||||||
. ./.env
|
. ./.env
|
||||||
else
|
else
|
||||||
echo 'PXE: WARNING: .env does not exist yet, cannot read config from there. You can take inspiration with file .env.example'
|
echo "PXE: WARNING: $(pwd)/.env does not exist yet, cannot read config from there. You can take inspiration with file $(pwd)/.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 New Issue