From 2e57351e1a4243c1965c0aa5318fb6dbe26f3d45 Mon Sep 17 00:00:00 2001 From: pedro Date: Fri, 27 Sep 2024 09:28:38 -0300 Subject: [PATCH] pxe: ensure systemd is aware of mounts --- deploy-workbench.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy-workbench.sh b/deploy-workbench.sh index 2e29ff9..02d4601 100755 --- a/deploy-workbench.sh +++ b/deploy-workbench.sh @@ -280,6 +280,8 @@ if [ -d /run/live/medium ]; then # to make snapshots subdir readwrite nfs_host="\$(df -hT | grep nfs | cut -f1 -d: | head -n1)" mount \${nfs_host}:/snapshots /run/live/medium/snapshots + # reload mounts on systemd + systemctl daemon-reload fi # clearly specify the right working directory, used in the python script as os.getcwd() cd /mnt