Assuming you have:
pkgbase and 15.x FreeBSD server with a bunch of jails bastille as the jail manager and that the host and all jails are on pkgbase here’s a single command to upgrade them all in one shot. What does the command do:
Sometimes when you release upgrade freebsd, you might get the following error:
Failed to load kernel ‘kernel’
can’t load ‘kernel’
can’t load ‘kernel’
Type ‘?’ for a list of commands…
Commands:
freebsd-update upgrade -r 14.1-RELEASE freebsd-update install shutdown -r now freebsd-update install shutdown -r now Notes:
“14.1-RELEASE” –> You can use replace it with “14.2-RELEASE” or any other release in that format. Before running the final “shutdown -r now”, you might have to do an additional “freebsd-update install” if any application is asking for it. 👅