pxe: add the missing env
This commit is contained in:
parent
13f38dacb8
commit
f7c3e138f1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue