Statistics
| Branch: | Tag: | Revision:

root / doc / examples @ 93db3d8f

Name Size
  hooks
bash_completion.in 14.3 kB
batcher-instances.json 263 Bytes
dumb-allocator 3.1 kB
ganeti.cron.in 170 Bytes
ganeti.initd.in 3 kB

Latest revisions

# Date Author Comment
93db3d8f 07/22/2009 04:13 pm Guido Trotter

Add an example "ethers" hook

This hook can be used to update /etc/ethers with instance's mac
addresses. A dhcp server on the nodes can then serve to the instances
their correct address. (This has been tested with dnsmasq's dhcp
implementation)

Signed-off-by: Guido Trotter <>

7f5e61b4 07/17/2009 06:23 pm Michael Hanselmann

ganeti.initd: Pass $*_ARGS to programs when restarting them

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

2e159315 05/06/2009 10:50 am Guido Trotter

Pass optional arguments to the daemons

These can be set in the defaults file, default to no arguments being
passed, and make it easy for local installation to customize the way the
ganeti daemons are called.

Signed-off-by: Guido Trotter <>...

a533e975 05/06/2009 10:49 am Guido Trotter

ganeti.initd: include defaults file, if present

In the example init script we'll execute an optional defaults file to
make it easier to add local customizations to the ganeti startup.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin <>

84d6ea9b 05/06/2009 10:46 am Guido Trotter

Fix ;; indentation in the main initd loop

Currently two of the ;; ending the case bodies are not indented with
anything. Reindent all of them to the body of the loop, as it's done
somewhere else in the init script.

Signed-off-by: Guido Trotter <>...

949bdabe 04/15/2009 02:11 pm Iustin Pop

A bunch of doc and other small fixes

This patch adds a couple of both externally and internally reported
issues:
- missing SGML tags (Issue 54), report and patch by superdupont
- wrong variable used in the init.d script, report and patch by
Karsten Keil <>...

75615bd3 03/04/2009 12:13 pm Iustin Pop

Fix bash completion for cluster copyfile/command

“copyfile” takes a file argument, so we enable file-completion for it.
“gnt-cluster command” takes a command, so we enable command completion.

Reviewed-by: imsnah

b806661b 03/02/2009 11:51 am Iustin Pop

A doc update and a small indentation fix

This adds a small paragraph about the “master” role of a node, and fixes
a wrong indentation in the bash completion file.

Reviewed-by: imsnah

e2a2a2eb 02/26/2009 06:11 pm Iustin Pop

Add bash-completion rules

This is a not-complete bash completion file for ganeti commands (gnt-*)
and the burnin tool. It is based on previous work by Minghua Ye
<> for Ganeti 1.1, which wasn't used because the
lack of ssconf keys (which allow easy inspection by the shell of the...

5c562aa4 02/20/2009 12:45 pm Guido Trotter

dumb-allocator: avoid allocating on drained nodes

This was forgotten when drained nodes were added.

Reviewed-by: iustinp

View revisions

Also available in: Atom