Fix a bug that prevents VNET jail creation

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

View File

@@ -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.

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()

View File

@@ -1 +1 @@
1.1.03
1.1.04