---
name: "install.site"
section: "5"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/install.site"
---

# install.site(5)

OpenBSD installation and upgrade customization

## NAME

**install.site**, **upgrade.site** – OpenBSD installation and upgrade customization

## DESCRIPTION

The OpenBSD installer allows user-created sets and scripts to complement and modify the files from a default install prior to rebooting.

Like the official file sets, generic *site${**VERSION*}.tgz and hostname-specific *site${**VERSION*}-$(**hostname** **-s**).tgz sets are [gzip(1)](/gzip/1.md) compressed [tar(1)](/tar/1.md) archives rooted in */* and untarred with the **-xzphf** options.

*siteXY* sets must be included in *index.txt* in order to be fetched via HTTP(S) and selectable in the installer.

If they exist and are executable, */install.site* and */upgrade.site* are run at the end of the install and upgrade process, respectively, with [chroot(8)](/chroot/8.md) based at the system's root.

## FILES

- *site${**VERSION*}.tgz

  Generic set.

- *site${**VERSION*}-$(**hostname** **-s**).tgz

  Host-specific set.

- */upgrade.site*

  Generic post-upgrade script.

- */install.site*

  Generic post-install script.

## EXAMPLES

Create *site70* sets and update the index:

```
# tar -czhf site70.tgz generic/
# tar -czhf site70-puffy.tgz puffy/
# ls -lT > index.txt
```

Upgrade [packages(7)](/packages/7.md) upon reboot after [sysupgrade(8)](/sysupgrade/8.md) upgraded the system:

```
# cat <<- EOF >> /upgrade.site
	echo 'pkg_add -Iu' >>/etc/rc.firsttime
EOF
# chmod +x /upgrade.site
# sysupgrade
```

## SEE ALSO

[autoinstall(8)](/autoinstall/8.md), [rc(8)](/rc/8.md), [sysupgrade(8)](/sysupgrade/8.md)
