From 93a86a8b113ca3649fb36610f9ee348442479076 Mon Sep 17 00:00:00 2001 From: pedro Date: Thu, 26 Sep 2024 12:21:24 -0300 Subject: [PATCH] pxe: we know the server host, is in the config --- deploy-workbench.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy-workbench.sh b/deploy-workbench.sh index 428afa4..58c37ca 100755 --- a/deploy-workbench.sh +++ b/deploy-workbench.sh @@ -279,8 +279,7 @@ if [ -d /run/live/medium ]; then mount --bind /run/live/medium /mnt # debian live nfs path is readonly, do a trick # to make snapshots subdir readwrite - nfs_host="\$(df -hT | grep nfs | cut -f1 -d: | head -n1)" - mount \${nfs_host}:/snapshots /run/live/medium/snapshots + mount ${server_ip}:/snapshots /run/live/medium/snapshots else fi # clearly specify the right working directory, used in the python script as os.getcwd()