Revision dd7f6776 doc/hooks.rst
b/doc/hooks.rst | ||
---|---|---|
64 | 64 |
Naming |
65 | 65 |
~~~~~~ |
66 | 66 |
|
67 |
The allowed names for the scripts consist of (similar to *run-parts* )
|
|
67 |
The allowed names for the scripts consist of (similar to *run-parts*) |
|
68 | 68 |
upper and lower case, digits, underscores and hyphens. In other words, |
69 | 69 |
the regexp ``^[a-zA-Z0-9_-]+$``. Also, non-executable scripts will be |
70 | 70 |
ignored. |
... | ... | |
468 | 468 |
Environment variables |
469 | 469 |
--------------------- |
470 | 470 |
|
471 |
Note that all variables listed here are actually prefixed with |
|
472 |
*GANETI_* in order to provide a clear namespace. |
|
471 |
Note that all variables listed here are actually prefixed with *GANETI_* |
|
472 |
in order to provide a clear namespace. In addition, post-execution |
|
473 |
scripts receive another set of variables, prefixed with *GANETI_POST_*, |
|
474 |
representing the status after the opcode executed. |
|
473 | 475 |
|
474 | 476 |
Common variables |
475 | 477 |
~~~~~~~~~~~~~~~~ |
Also available in: Unified diff