From c2848c265a5bfa79e9e9c9f2a6ce363d31d45435 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 25 Sep 2024 13:40:57 -0300 Subject: [PATCH] pxe: simplify with cp --- pxe/install-pxe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pxe/install-pxe.sh b/pxe/install-pxe.sh index ac06d7b..8d7bf2d 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -32,7 +32,7 @@ END if [ ! -f "${nfs_path}/settings.ini" ]; then if [ -f "settings.ini" ]; then - ln -sfv "$(pwd)/settings.ini"" ${nfs_path}/settings.ini" + cp settings.ini "${nfs_path}/settings.ini" else echo "ERROR: ../settings.ini does not exist yet, cannot read config from there. You can take inspiration with file ../settings.ini.example" exit 1