Fix a bug that prevents VNET jail creation
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
======================
|
======================
|
||||||
Version Description
|
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.03......Add patch to improve ZFS activation, contributed by disaster.
|
||||||
1.1.02......Create required dir for templates link creation.
|
1.1.02......Create required dir for templates link creation.
|
||||||
1.1.01......Cosmetic changes, update maintenance page.
|
1.1.01......Cosmetic changes, update maintenance page.
|
||||||
|
|||||||
@@ -438,6 +438,11 @@ required_updates()
|
|||||||
bastille_initial_download
|
bastille_initial_download
|
||||||
fi
|
fi
|
||||||
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()
|
postinit_cmd()
|
||||||
|
|||||||
Reference in New Issue
Block a user