From 98afab9ba8c1671eaf56f99cfc13d5bede1c641a Mon Sep 17 00:00:00 2001 From: JRGTH Date: Tue, 21 Dec 2021 20:37:00 -0400 Subject: [PATCH] Fix a bug that prevents VNET jail creation --- CHANGELOG | 1 + bastille-init | 5 +++++ version | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 1d84022..c54e91d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,6 +3,7 @@ ====================== Version Description +1.1.04......Fix a bug that prevents VNET jail creation. 1.1.03......Add patch to improve ZFS activation, contributed by disaster. 1.1.02......Create required dir for templates link creation. 1.1.01......Cosmetic changes, update maintenance page. diff --git a/bastille-init b/bastille-init index 4ce30eb..1ec55ec 100755 --- a/bastille-init +++ b/bastille-init @@ -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() diff --git a/version b/version index 901d2aa..e24c354 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.1.03 +1.1.04