OSTREE ADMIN SET-OR(1) ostree admin set-origin OSTREE ADMIN SET-OR(1)

.SH "NAME" ostree-admin-set-origin - Change the "origin" (location for upgrades)

.SH "SYNOPSIS"

.HP 600u

**ostree admin set-origin** {REMOTENAME} {URL} \[BRANCH]

.SH "DESCRIPTION"

.PP Add a new remote named *REMOTENAME* (if it does not already exist). Then change the origin file for the current deployment. This is the ref that will be "tracked" and upgraded with **ostree admin upgrade**.

.SH "OPTIONS"

.PP **--set**=KEY=VALUE

Set an option for the remote.

.RE .PP **--index**=INDEX

Change the origin of the deployment numbered *INDEX* (starting from 0).

.RE

.SH "EXAMPLE"

.PP **$ ostree admin set-origin exampleos http://os.example.com/repo exampleos/10.0/main/router**

OSTree

---

Document: ostree-admin-set-origin(1) from ostree 2026.5-r0 (Chainguard OS)
Source: https://github.com/ostreedev/ostree
