pxe: add the missing env

This commit is contained in:
pedro 2024-11-11 13:58:37 +01:00
parent 13f38dacb8
commit f7c3e138f1
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ init_config() {
PXE_DIR="$(pwd)"
if [ ! -f ./.env ]; then
cp -v ./.env.example ./.env
echo "WARNING: .env was not there, .env.example was copied, this only happens once"
fi
. ./.env