pxe: fix snapshot nfs logic

This commit is contained in:
pedro 2024-09-26 09:00:36 -03:00
parent e4b844713e
commit 9de317adbf
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ install_nfs() {
# debian live nfs path is readonly, do a trick
# to make snapshots subdir readwrite
if grep -q "/snapshots" /proc/mounts; then
if ! grep -q "/snapshots" /proc/mounts; then
mount --bind "${nfs_path}/snapshots" "/snapshots"
fi