diff --git a/Makefile.am b/Makefile.am index e3e8781921d786588c8947d84e0d3bc86f2ac2f0..9468fa85bdb6c74e59cb1cb03caa482dfcb32216 100644 --- a/Makefile.am +++ b/Makefile.am @@ -656,6 +656,8 @@ $(REPLACE_VARS_SED): Makefile echo 's#@CUSTOM_XEN_BOOTLOADER@#$(XEN_BOOTLOADER)#g'; \ echo 's#@CUSTOM_XEN_KERNEL@#$(XEN_KERNEL)#g'; \ echo 's#@CUSTOM_XEN_INITRD@#$(XEN_INITRD)#g'; \ + echo 's#@CUSTOM_IALLOCATOR_SEARCH_PATH@#$(IALLOCATOR_SEARCH_PATH)#g'; \ + echo 's#@CUSTOM_EXPORT_DIR@#$(EXPORT_DIR)#g'; \ echo 's#@RPL_FILE_STORAGE_DIR@#$(FILE_STORAGE_DIR)#g'; \ echo 's#@RPL_SSH_INITD_SCRIPT@#$(SSH_INITD_SCRIPT)#g'; \ echo 's#@PKGLIBDIR@#$(pkglibdir)#g'; \ diff --git a/man/gnt-backup.rst b/man/gnt-backup.rst index a8bd39810de5b608b9d878ab9461111fd20629c6..9c8900c07309c4c6e2266f144c1da4a01b72935d 100644 --- a/man/gnt-backup.rst +++ b/man/gnt-backup.rst @@ -29,7 +29,7 @@ EXPORT Exports an instance to the target node. All the instance data and its configuration will be exported under the -/srv/ganeti/export/*instance* directory on the target node. +``@CUSTOM_EXPORT_DIR@/``*instance* directory on the target node. The ``--shutdown-timeout`` is used to specify how much time to wait before forcing the shutdown (xm destroy in xen, killing the kvm diff --git a/man/gnt-instance.rst b/man/gnt-instance.rst index a92104cf6defc1e3485a44ced1de54f36a59bd1a..bc1281122e744db96642c23ed356a8459806d265 100644 --- a/man/gnt-instance.rst +++ b/man/gnt-instance.rst @@ -435,14 +435,13 @@ If you do not want gnt-instance to wait for the disk mirror to be synced, use the ``--no-wait-for-sync`` option. The ``--file-storage-dir`` specifies the relative path under the -cluster-wide file storage directory to store file-based disks. It -is useful for having different subdirectories for different +cluster-wide file storage directory to store file-based disks. It is +useful for having different subdirectories for different instances. The full path of the directory where the disk files are -stored will consist of cluster-wide file storage directory + -optional subdirectory + instance name. Example: -/srv/ganeti/file-storage/mysubdir/instance1.example.com. This -option is only relevant for instances using the file storage -backend. +stored will consist of cluster-wide file storage directory + optional +subdirectory + instance name. Example: +``@RPL_FILE_STORAGE_DIR@``*/mysubdir/instance1.example.com*. This +option is only relevant for instances using the file storage backend. The ``--file-driver`` specifies the driver to use for file-based disks. Note that currently these drivers work with the xen