diff --git a/pxe/install-pxe.sh b/pxe/install-pxe.sh index 7ac4dde..c94c6af 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -59,6 +59,10 @@ END } init_config() { + + # get where the script is + cd "$(dirname "${0}")" + if [ -f ./.env ]; then . ./.env else