1SNAKE-KS(1)                        snake-ks                        SNAKE-KS(1)
2
3
4

NAME

6       snake-ks -- Query or modifiy a SNAKE kickstart templates
7

SYNOPSIS

9       snake-ks [options] [command] [command-options ...]
10

DESCRIPTION

12       The snake-ks utility is used to query or modify SNAKE kickstart
13       templates.  Unless specified, snake-ks will operate on a local
14       directory of files (see man snake.conf).
15
16       command is one of:
17
18       ·   list [KSSPEC]
19
20       ·   add [add-options] [filename] [...]
21
22       ·   remove [template] [...]
23
24       ·   generate [generate-options] template [...]
25
26       ·   describe [describe-options] template description
27
28       ·   rename [rename-options] template new-name
29
30       Unless the --help or -h option is given, one of the above commands must
31       be present.
32

GENERAL OPTIONS

34       The following command line options are permitted.
35
36       -h, --help
37           Help; display a help message and then quit.
38
39       -v, --verbose
40           Verbose; output more information.
41
42       -s, --server
43           Server; rather than query the local system, communicate with a
44           snake-server
45
46       -p, --port
47           Port; Use the specified port when communicating with the snake-
48           server (defaults to 2903).
49

KSSPEC SYNTAX

51       When querying available templates, snake-ks list offers several filters
52       to limit your results.  Available filters include:
53
54       ·   name
55
56       ·   desc
57

ADD OPTIONS

59       The following add command line options are permitted.
60
61       -n, --name
62           Name; specify a name for the kickstart template.  This defaults to
63           the basename of the file (without the extension).
64
65       -d, --desc
66           Description; specify a description for the kickstart template.
67           This defaults to an empty string.
68
69       The following are several ways in which you may invoke the add command:
70
71       snake-ks add /root/anaconda-ks.cfg
72           Add the local file /root/anaconda-ks.cfg
73
74       curl
75       http://git.fedorahosted.org/git/snake?p=snake;a=blob_plain;f=examples/minimal.ks;hb=master
76       | snake-ks add --name=snake-wiki-example
77           Use the curl utility to download the above URL.  The result is
78           passed to snake-ks through standard input.
79
80       snake-ks add --name clearpart --desc "@base clearpart --drives=sda,sdb"
81       /root/anaconda-ks.cfg
82           Add the local file /root/anaconda-ks.cfg using the name and
83           description provided above.
84

REMOVE OPTIONS

86       The following example demonstrates calling the remove command.
87
88       snake-ks remove workstation-devel
89           Removes the template "workstation-devel" from.
90

GENERATE OPTIONS

92       The following generate command line options are permitted.
93
94       -v, --version
95           Version; specify a version to use when generating the kickstart
96           file.  Unless specified, a value of "devel" will be used.  For a
97           complete list of version's please reference the pykickstart
98           package.
99
100       The generate command can be invoked several ways, for examples:
101
102       snake-ks generate minimal
103           Generates a kickstart file using the minimal template.  The
104           kickstart version will default to "devel".
105
106       snake-ks generate --version RHEL4 everything
107           Generates a RHEL4 kickstart file using the everything template.
108

DESCRIBE OPTIONS

110       The following example demonstrates calling the describe command.
111
112       snake-ks describe workstation-devel "Common Developer Install"
113           Updates the description of the workstation-devel template to be
114           "Common Developer Install"
115

RENAME OPTIONS

117       The following example demonstrates calling the rename command.
118
119       snake-ks rename workstation-devel workstation-common
120           Renames the kickstart template workstation-devel to workstation-
121           common.
122

ADDITONAL RESOURCES

124       See https://fedorahosted.org/snake for more information, including
125       information on scripting snake from Python.
126
127       For information about pykickstart, refer to
128       http://fedoraproject.org/wiki/pykickstart.
129
130       See also the manpages for snake-tree, snake-install, snake-install-tui,
131       and snake-server
132

AUTHOR

134       Various. See https://fedorahosted.org/snake
135
136
137
138                                  2008-03-18                       SNAKE-KS(1)
Impressum