1OSTREE ADMIN DEPLOY(1)        ostree admin deploy       OSTREE ADMIN DEPLOY(1)
2
3
4

NAME

6       ostree-admin-deploy - Checkout a revision as the new default deployment
7

SYNOPSIS

9       ostree admin deploy [OPTIONS...] {REFSPEC}
10

DESCRIPTION

12       Takes a commit or revision REFSPEC, and queues the new deployment as
13       default upon reboot.
14

OPTIONS

16       --stateroot="STATEROOT"
17           Use a different operating system stateroot than the current one.
18
19       --os="STATEROOT"
20           Alias for --stateroot.
21
22       --origin-file="FILENAME"
23           Use FILENAME as the origin, which is where OSTree will look for
24           updated versions of the tree.
25
26       --retain
27           Do not delete previous deployment.
28
29       --retain-pending
30           Do not delete pending deployments.
31
32       --retain-rollback
33           Do not delete rollback deployments.
34
35       --not-as-default
36           Append rather than prepend new deployment.
37
38       --karg-proc-cmdline
39           Import current /proc/cmdline.
40
41       --karg="NAME=VALUE"
42           Set kernel argument, like root=/dev/sda1; this overrides any
43           earlier argument with the same name.
44
45       --karg-append="NAME=VALUE"
46           Append kernel argument; useful with e.g. console= that can be used
47           multiple times.
48
49       --karg-delete="NAME=VALUE"
50           Delete kernel argument if exists, can be used multiple times.
51

EXAMPLE

53       $ ostree admin status
54
55                   * gnome-ostree 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.0
56                       origin refspec: gnome-ostree/buildmain/x86_64-runtime
57                     gnome-ostree ce19c41036cc45e49b0cecf6b157523c2105c4de1ce3.0
58                       origin refspec: gnome-ostree/buildmain/x86_64-runtime
59
60       $ ostree admin deploy gnome-ostree/buildmain/x86_64-runtime
61
62                   ostadmin: Creating deployment /ostree/deploy/gnome-ostree/deploy/7e382b11d213a402a5313e61cbc69dfd5ab93cb07.1
63                   ostadmin: Processing /etc: 3 modified, 0 removed, 29 added
64                   Transaction complete: bootconfig swap: no deployment count change: 0)
65
66       $ ostree admin status
67
68                     gnome-ostree 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.1
69                       origin refspec: gnome-ostree/buildmain/x86_64-runtime
70                   * gnome-ostree 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.0
71                       origin refspec: gnome-ostree/buildmain/x86_64-runtime
72
73
74
75OSTree                                                  OSTREE ADMIN DEPLOY(1)
Impressum