From 69795dbf1e7527965f733cf5e3228b413cfe355d Mon Sep 17 00:00:00 2001 From: pedro Date: Thu, 26 Sep 2024 09:01:52 -0300 Subject: [PATCH] pxe: snapshot nfs dir, ensure exists --- pxe/install-pxe.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pxe/install-pxe.sh b/pxe/install-pxe.sh index 811240d..96eb135 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -27,6 +27,7 @@ install_nfs() { # debian live nfs path is readonly, do a trick # to make snapshots subdir readwrite if ! grep -q "/snapshots" /proc/mounts; then + mkdir -p "/snapshots" mount --bind "${nfs_path}/snapshots" "/snapshots" fi