pxe: add the missing env
This commit is contained in:
parent
13f38dacb8
commit
f7c3e138f1
|
@ -133,6 +133,7 @@ init_config() {
|
||||||
PXE_DIR="$(pwd)"
|
PXE_DIR="$(pwd)"
|
||||||
|
|
||||||
if [ ! -f ./.env ]; then
|
if [ ! -f ./.env ]; then
|
||||||
|
cp -v ./.env.example ./.env
|
||||||
echo "WARNING: .env was not there, .env.example was copied, this only happens once"
|
echo "WARNING: .env was not there, .env.example was copied, this only happens once"
|
||||||
fi
|
fi
|
||||||
. ./.env
|
. ./.env
|
||||||
|
|
Loading…
Reference in New Issue