From b380450bd42f514c2a165b408cf5b22c46daf329 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