Handle container/base updates from the UI

This commit is contained in:
Jose
2019-12-01 12:51:04 -04:00
parent b6a65c3e70
commit 071ce84f72
4 changed files with 48 additions and 4 deletions
+1 -1
View File
@@ -751,7 +751,7 @@ thickjail_upgrade()
echo "bastille cmd ${TARGET} freebsd-update install"
echo
CURRENT_VERSION=$(jexec -l ${TARGET} freebsd-version)
jexec -l "${TARGET}" freebsd-update --currently-running "${CURRENT_VERSION}" -r ${RELEASE} upgrade
jexec -l "${TARGET}" env PAGER="/bin/cat" freebsd-update --not-running-from-cron --currently-running "${CURRENT_VERSION}" -r ${RELEASE} upgrade
else
echo "Container not running."
echo "See 'bastille start ${TARGET}'."