Revision 5a7cb9d3
b/NEWS | ||
---|---|---|
2 | 2 |
==== |
3 | 3 |
|
4 | 4 |
|
5 |
Version 2.7.0 beta0
|
|
5 |
Version 2.7.0 beta1
|
|
6 | 6 |
------------------- |
7 | 7 |
|
8 | 8 |
*(unreleased)* |
... | ... | |
22 | 22 |
allowing files to be created in arbitrary locations. The RPC protocol |
23 | 23 |
is protected using SSL/X.509 certificates, but as a design principle |
24 | 24 |
Ganeti does not permit arbitrary paths to be passed. |
25 |
- The parsing of the variants file for OSes (see |
|
26 |
:manpage:`ganeti-os-interfac7(8)` has been slightly changed: now empty |
|
27 |
lines and comment lines are ignored for better readability. |
|
25 | 28 |
|
26 | 29 |
|
27 | 30 |
Version 2.6.1 |
b/lib/backend.py | ||
---|---|---|
2291 | 2291 |
if constants.OS_VARIANTS_FILE in os_files: |
2292 | 2292 |
variants_file = os_files[constants.OS_VARIANTS_FILE] |
2293 | 2293 |
try: |
2294 |
variants = utils.ReadFile(variants_file).splitlines() |
|
2294 |
variants = \ |
|
2295 |
utils.FilterEmptyLinesAndComments(utils.ReadFile(variants_file)) |
|
2295 | 2296 |
except EnvironmentError, err: |
2296 | 2297 |
# we accept missing files, but not other errors |
2297 | 2298 |
if err.errno != errno.ENOENT: |
b/man/ganeti-os-interface.rst | ||
---|---|---|
265 | 265 |
variants for this OS, one per line. If this file is missing or empty, |
266 | 266 |
then the OS won't be considered to support variants. |
267 | 267 |
|
268 |
Empty lines and lines starting with a hash (``#``) are ignored. |
|
269 |
|
|
268 | 270 |
parameters.list |
269 | 271 |
~~~~~~~~~~~~~~~ |
270 | 272 |
|
Also available in: Unified diff