Statistics
| Branch: | Tag: | Revision:

root / man / gnt-os.rst @ 07e3c124

History | View | Annotate | Download (2.8 kB)

1
gnt-os(8) Ganeti | Version @GANETI_VERSION@
2
===========================================
3

    
4
Name
5
----
6

    
7
gnt-os - Instance operating system administration
8

    
9
Synopsis
10
--------
11

    
12
**gnt-os** {command} [arguments...]
13

    
14
DESCRIPTION
15
-----------
16

    
17
The **gnt-os** is used for managing the list of available operating
18
system flavours for the instances in the Ganeti cluster.
19

    
20
COMMANDS
21
--------
22

    
23
LIST
24
~~~~
25

    
26
**list** [\--no-headers]
27

    
28
Gives the list of available/supported OS to use in the instances.
29
When creating the instance you can give the OS-name as an option.
30

    
31
Note that hidden or blacklisted OSes are not displayed by this
32
command, use **diagnose** for showing those.
33

    
34
DIAGNOSE
35
~~~~~~~~
36

    
37
**diagnose**
38

    
39
This command will help you see why an installed OS is not available
40
in the cluster. The **list** command shows only the OS-es that the
41
cluster sees available on all nodes. It could be that some OS is
42
missing from a node, or is only partially installed, and this
43
command will show the details of all the OSes and the reasons they
44
are or are not valid.
45

    
46
INFO
47
~~~~
48

    
49
**info**
50

    
51
This command will list detailed information about each OS available
52
in the cluster, including its validity status, the supported API
53
versions, the supported parameters (if any) and their
54
documentations, etc.
55

    
56
MODIFY
57
~~~~~~
58

    
59
| **modify** [\--submit] [\--print-job-id]
60
| [ [ -O | --os-parameters ] =*option*=*value*]
61
| [ --os-parameters-private=*option*=*value*]
62
| [-H *HYPERVISOR*:option=*value*[,...]]
63
| [\--hidden=*yes|no*] [\--blacklisted=*yes|no*]
64
| {*OS*}
65

    
66
This command will allow you to modify OS parameters.
67

    
68
To modify the per-OS hypervisor parameters (which override the
69
global hypervisor parameters), you can run modify ``-H`` with the
70
same syntax as in **gnt-cluster init** to override default
71
hypervisor parameters of the cluster for specified *OS* argument.
72

    
73
To modify the parameters passed to the OS install scripts, use the
74
**--os-parameters** option. If the value of the parameter should not be
75
saved to logs, use **--os-parameters-private** *and* make sure that
76
no Ganeti daemon or program is running in debug mode. **ganeti-luxid**
77
in particular will issue a warning at startup time if ran in debug mode.
78

    
79
To modify the hidden and blacklisted states of an OS, pass the options
80
``--hidden`` *yes|no*, or respectively ``--blacklisted ...``. The
81
'hidden' state means that an OS won't be listed by default in the OS
82
list, but is available for installation. The 'blacklisted' state means
83
that the OS is not listed and is also not allowed for new instance
84
creations (but can be used for reinstalling old instances).
85

    
86
Note: The given operating system doesn't have to exist. This allows
87
preseeding the settings for operating systems not yet known to
88
**gnt-os**.
89

    
90
See **ganeti**\(7) for a description of ``--submit`` and other common
91
options.
92

    
93
.. vim: set textwidth=72 :
94
.. Local Variables:
95
.. mode: rst
96
.. fill-column: 72
97
.. End: