From ce650945ed1c430fee312825163b42df5fe68d93 Mon Sep 17 00:00:00 2001 From: pedro Date: Tue, 24 Sep 2024 10:57:01 -0300 Subject: [PATCH] bugfix env location --- pxe/install-pxe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pxe/install-pxe.sh b/pxe/install-pxe.sh index 6839de8..7b703ef 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -57,9 +57,9 @@ END init_config() { if [ -f ./.env ]; then - . ./env + . ./.env else - echo 'WARNING: ./env does not exist, cannot read config from there' + echo 'WARNING: ./.env does not exist yet, cannot read config from there. You can take inspiration in file ./.env.example' fi VERSION_CODENAME="${VERSION_CODENAME:-bookworm}" tftp_path="${tftp_path:-/srv/pxe-tftp}"