Index | Thread | Search

From:
obsd@mulh.net
Subject:
Re: sysupgrade -S siteXY.tgz
To:
tech@openbsd.org
Date:
Sat, 13 Jun 2026 03:12:17 -0400

Download raw body.

Thread
On 2026-06-12 17:01:11, Stefan Sperling wrote:
> At present, a site set with custom files must be uploaded to the same
> mirror which base sets are fetched from. Else the site set is not
> available during installation and upgrades. This makes it a bit
> difficult to use official installation mirrors with site sets during
> upgrades since a custom mirror is required to serve the site set from.

Using the current sysupgrade (without patch) you could do:

1)  syspatch -ns

This will fetch and verify the installation files but stops before rebooting.

2)  cp siteXX.tgz file to /home/_sysupgrade/
    echo 'Set name(s) = site*' >> /auto_upgrade.conf

Or use ftp to download your siteXX.tgz file from a website to /home/_sysupgrade/.
The echo line adds to the response file to include siteXX.tgz during install.

3)  reboot

Restart the VM or computer and let sysupgrade (bsd.upgrade) continue upgrade.
If your siteXX.tgz includes a /upgrade.site script, that'll run too.

My test VM just boots the CD image install79.iso, I select (A)utoinstall.
It fetches the response file and allocation template from a local web server.
bsd.rd installs openbsd sets from CD, installs siteXX.tgz from NFS share.
Runs install.site at end of regular installation to do my local configurations.
Now if I could just figure out how to get vmd to boot CD when both cd and
(non-blank) disk are both configured on the VM I'd be happier.