summaryrefslogtreecommitdiff
path: root/man/ostree-admin-switch.html
blob: 1c9314fe3ecdec2f9c99306833390ac1441d132f (plain)
1
2
3
4
5
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>ostree admin switch</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry"><a name="ostree"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ostree-admin-switch &#8212; Construct new tree from current origin and deploy it, if it changed</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">ostree admin switch</code>  {REF}</p></div></div><div class="refsect1"><a name="idm45763904827120"></a><h2>Description</h2><p>
            Choose a different REF from the current remote to track.  This is the ref that will be "tracked" and upgraded with <span class="command"><strong>ostree admin upgrade</strong></span>.  Like an upgrade, the operating system state will be preserved.
        </p></div><div class="refsect1"><a name="idm45763904827376"></a><h2>Options</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="option">--os</code>="STATEROOT"</span></dt><dd><p>
                    Use a different operating system root than the current one.
                </p></dd></dl></div></div><div class="refsect1"><a name="idm45763904575952"></a><h2>Example</h2><p><span class="command"><strong>$ ostree admin switch fedostree/20/workstation/gnome/core</strong></span></p></div></div></body></html>