OpenBSD manual page server

Manual Page Search Parameters

SYSUPGRADE(8) System Manager's Manual SYSUPGRADE(8)

sysupgrade
upgrade system to the next release or a new snapshot

sysupgrade [-fkn] [-r | -s] [installurl]

sysupgrade is a utility to upgrade OpenBSD to the next release or a new snapshot if available.

sysupgrade downloads the necessary files to /home/_sysupgrade, verifies them with signify(1), and copies bsd.rd to /bsd.upgrade.

sysupgrade by default then reboots the system. The bootloader will automatically choose /bsd.upgrade, triggering a one-shot upgrade using the files in /home/_sysupgrade.

The options are as follows:

Force an already applied upgrade. The default is to upgrade to latest snapshot only if available. This option has no effect on releases.
Keep the files in /home/_sysupgrade. By default they will be deleted after the upgrade.
Fetch and verify the files and create /bsd.upgrade but do not reboot.
Upgrade to the next release. The default is to find out if the system is running a release or a snapshot. In case of release sysupgrade downloads the next release.
Upgrade to a snapshot. The default is to find out if the system is running a release or a snapshot. In case of release sysupgrade downloads the next release.

/etc/installurl
OpenBSD mirror top-level URL for fetching an upgrade.
/home/_sysupgrade
Directory the upgrade is downloaded to.
/bsd.upgrade
The ramdisk kernel to trigger an unattended upgrade.

signify(1), installurl(5), release(8)

sysupgrade first appeared in OpenBSD 6.6.
May 9, 2019 OpenBSD-current