From 66d830a55fa6c34a8f115950a277dee65eacd1b4 Mon Sep 17 00:00:00 2001 From: Theo BERTIN Date: Fri, 11 Feb 2022 09:41:02 +0100 Subject: [PATCH] CLONE.SH::ADDED:: update fstab paths with new jail path --- usr/local/share/bastille/clone.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/local/share/bastille/clone.sh b/usr/local/share/bastille/clone.sh index 12509cce..69df00d1 100644 --- a/usr/local/share/bastille/clone.sh +++ b/usr/local/share/bastille/clone.sh @@ -139,6 +139,8 @@ update_fstab() { sed -i '' "s|${FSTAB_CURRENT}|${FSTAB_NEWCONF}|" "${FSTAB_CONFIG}" fi fi + # Update additional fstab paths with new jail path + sed -i '' "s|${bastille_jailsdir}/${TARGET}/root/|${bastille_jailsdir}/${NEWNAME}/root/|" "${FSTAB_CONFIG}" fi }