-There are six required files: *create*, *import*, *export*, *rename*,
+There are eight required files: *create*, *import*, *export*, *rename*,
*verify* (executables), *ganeti_api_version*, *variants.list* and
*parameters.list* (text files).
*verify* (executables), *ganeti_api_version*, *variants.list* and
*parameters.list* (text files).
- variable, prefixed with ``OSP``, and upper-cased. For example, a
+ variable, prefixed with ``OSP_``, and upper-cased. For example, a
one anew. This can be used, for example, to preserve some data in the
old instance in an OS-specific way.
one anew. This can be used, for example, to preserve some data in the
old instance in an OS-specific way.
The specific disk to backup is denoted by two additional environment
variables: ``EXPORT_INDEX`` which denotes the index in the instance
disks structure (and could be used for example to skip the second disk
The specific disk to backup is denoted by two additional environment
variables: ``EXPORT_INDEX`` which denotes the index in the instance
disks structure (and could be used for example to skip the second disk
-if not needed for backup) and ``EXPORT_PATH`` which has the same value
-as ``DISK_N_PATH`` but is duplicate here for easier usage by shell
+if not needed for backup) and ``EXPORT_DEVICE`` which has the same value
+as ``DISK_N_PATH`` but is duplicated here for easier usage by shell
scripts (rather than parse the ``DISK_...`` variables).
To provide the user with an estimate on how long the export will take,
scripts (rather than parse the ``DISK_...`` variables).
To provide the user with an estimate on how long the export will take,
Currently (API version 20), only one parameter is supported:
``parameters``. This should validate the ``OSP_`` variables from the
Currently (API version 20), only one parameter is supported:
``parameters``. This should validate the ``OSP_`` variables from the
The ganeti_api_version file is a plain text file containing the
version(s) of the guest OS API that this OS definition complies
The ganeti_api_version file is a plain text file containing the
version(s) of the guest OS API that this OS definition complies
-with, one per line. The version documented by this man page is 15,
-so this file must contain the number 15 followed by a newline if
+with, one per line. The version documented by this man page is 20,
+so this file must contain the number 20 followed by a newline if
only this version is supported. A script compatible with more than
one Ganeti version should contain the most recent version first
only this version is supported. A script compatible with more than
one Ganeti version should contain the most recent version first
parameters and related scripts (verify) are only supported in
version 20. The variants functionality (variants.list, and OS_VARIANT
env. var) are supported/present only in version 15 and up.
parameters and related scripts (verify) are only supported in
version 20. The variants functionality (variants.list, and OS_VARIANT
env. var) are supported/present only in version 15 and up.