With Ganeti imposing no requirement on Xen versions, the configuration
file that should be present varies greatly on the choice of toolstack
and Xen version. xend-config.sxp was considered obligatory, but in
higher versions and with xl, it is superseded by xl.conf and considered
deprecated. This patch makes it have the same status as xl.conf - Ganeti
will distribute it but not require its presence.

Signed-off-by: Hrvoje Ribicic <[email protected]>
---
 lib/hypervisor/hv_xen.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/hypervisor/hv_xen.py b/lib/hypervisor/hv_xen.py
index 4e33ce1..9a68766 100644
--- a/lib/hypervisor/hv_xen.py
+++ b/lib/hypervisor/hv_xen.py
@@ -472,6 +472,7 @@ class XenHypervisor(hv_base.BaseHypervisor):
     VIF_BRIDGE_SCRIPT,
     ]
   ANCILLARY_FILES_OPT = [
+    XEND_CONFIG_FILE,
     XL_CONFIG_FILE,
     ]
 
-- 
2.2.0.rc0.207.ga3a616c

Reply via email to