1OSTREE ADMIN DEPLOY(1) ostree admin deploy OSTREE ADMIN DEPLOY(1)
2
3
4
6 ostree-admin-deploy - Checkout a revision as the new default deployment
7
9 ostree admin deploy [OPTIONS...] {REFSPEC}
10
12 Takes a commit or revision REFSPEC, and queues the new deployment as
13 default upon reboot.
14
16 --os="STATEROOT"
17 Use a different operating system root than the current one.
18
19 --origin-file="FILENAME"
20 Use FILENAME as the origin, which is where OSTree will look for
21 updated versions of the tree.
22
23 --retain
24 Do not delete previous deployment.
25
26 --retain-pending
27 Do not delete pending deployments.
28
29 --retain-rollback
30 Do not delete rollback deployments.
31
32 --not-as-default
33 Append rather than prepend new deployment.
34
35 --karg-proc-cmdline
36 Import current /proc/cmdline.
37
38 --karg="NAME=VALUE"
39 Set kernel argument, like root=/dev/sda1; this overrides any
40 earlier argument with the same name.
41
42 --karg-append="NAME=VALUE"
43 Append kernel argument; useful with e.g. console= that can be used
44 multiple times.
45
47 $ ostree admin status
48
49 * gnome-ostree 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.0
50 origin refspec: gnome-ostree/buildmain/x86_64-runtime
51 gnome-ostree ce19c41036cc45e49b0cecf6b157523c2105c4de1ce3.0
52 origin refspec: gnome-ostree/buildmain/x86_64-runtime
53
54 $ ostree admin deploy gnome-ostree/buildmain/x86_64-runtime
55
56 ostadmin: Creating deployment /ostree/deploy/gnome-ostree/deploy/7e382b11d213a402a5313e61cbc69dfd5ab93cb07.1
57 ostadmin: Processing /etc: 3 modified, 0 removed, 29 added
58 Transaction complete: bootconfig swap: no deployment count change: 0)
59
60 $ ostree admin status
61
62 gnome-ostree 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.1
63 origin refspec: gnome-ostree/buildmain/x86_64-runtime
64 * gnome-ostree 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.0
65 origin refspec: gnome-ostree/buildmain/x86_64-runtime
66
67
68
69OSTree OSTREE ADMIN DEPLOY(1)