Fix a bug that prevents VNET jail creation

This commit is contained in:
JRGTH committed 2021-12-21 20:37:00 -04:00
1 parent 046b5ca191
commit 98afab9ba8
3 files changed
+7 -1

No files matched your search

+5
View File
@@ -438,6 +438,11 @@ required_updates()
bastille_initial_download
fi
fi
# Check for a critical bug that prevents VNET jail creation.
if grep -q '\\"vnet host interface for Bastille jail ${NAME}"' ${INSTALLPATH}${USRLOCAL}/share/${APPNAME}/create.sh; then
sed -i '' 's|\\"vnet host interface for Bastille jail ${NAME}"|\\"vnet host interface for Bastille jail ${NAME}\\"|g' ${INSTALLPATH}${USRLOCAL}/share/${APPNAME}/create.sh
fi
}
postinit_cmd()