Revision 053c356a lib/constants.py
b/lib/constants.py | ||
---|---|---|
272 | 272 |
XEN_CMD_XL = "xl" |
273 | 273 |
# FIXME: This will be made configurable using hvparams in Ganeti 2.7 |
274 | 274 |
XEN_CMD = _autoconf.XEN_CMD |
275 |
# When the Xen toolstack used is "xl", live migration requires the source host |
|
276 |
# to connect to the target host via ssh (xl runs this command). We need to pass |
|
277 |
# the command xl runs some extra info so that it can use Ganeti's key |
|
278 |
# verification and not fail. Note that this string is incomplete: it must be |
|
279 |
# filled with the cluster name before being used. |
|
280 |
XL_SSH_CMD = ("ssh -l root -oGlobalKnownHostsFile=%s" |
|
281 |
" -oUserKnownHostsFile=/dev/null" |
|
282 |
" -oCheckHostIp=no -oStrictHostKeyChecking=yes" |
|
283 |
" -oHostKeyAlias=%%s") % SSH_KNOWN_HOSTS_FILE |
|
275 | 284 |
|
276 | 285 |
KVM_PATH = _autoconf.KVM_PATH |
277 | 286 |
KVM_KERNEL = _autoconf.KVM_KERNEL |
Also available in: Unified diff