FreeBSD Jail Upgrade: Difference between revisions
From falz.net
Created page with "Chicken scratch for now Docs say to do this, but it may say you need to fetch first: freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version`..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Upgrade, and then install. Note that the install step will put you in vi diff hell. Enjoy that part. | |||
freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` -r 12.1-RELEASE-p1 upgrade | |||
freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` -r 12.1-RELEASE-p1 install | freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` -r 12.1-RELEASE-p1 install | ||
Restart the jail and run the install command again | |||
service jail restart jailname | |||
freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` -r 12.1-RELEASE-p1 install | freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` -r 12.1-RELEASE-p1 install | ||
Upgrade packages | |||
pkg -j jailname upgrade -f | pkg -j jailname upgrade -f | ||
Why not restart it one last time | |||
service jail restart jailname | service jail restart jailname |
Latest revision as of 14:08, 21 March 2020
Upgrade, and then install. Note that the install step will put you in vi diff hell. Enjoy that part.
freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` -r 12.1-RELEASE-p1 upgrade freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` -r 12.1-RELEASE-p1 install
Restart the jail and run the install command again
service jail restart jailname freebsd-update -b /jails/jailname --currently-running `jexec -l jailname freebsd-version` -r 12.1-RELEASE-p1 install
Upgrade packages
pkg -j jailname upgrade -f
Why not restart it one last time
service jail restart jailname