Revision f215debf lib/constants.py
b/lib/constants.py | ||
---|---|---|
202 | 202 |
# the command xl runs some extra info so that it can use Ganeti's key |
203 | 203 |
# verification and not fail. Note that this string is incomplete: it must be |
204 | 204 |
# filled with the cluster name before being used. |
205 |
XL_SSH_CMD = ("ssh -l root -oGlobalKnownHostsFile=%s"
|
|
205 |
XL_SSH_CMD = ("ssh -l %s -oGlobalKnownHostsFile=%s"
|
|
206 | 206 |
" -oUserKnownHostsFile=/dev/null" |
207 | 207 |
" -oCheckHostIp=no -oStrictHostKeyChecking=yes" |
208 |
" -oHostKeyAlias=%%s") % pathutils.SSH_KNOWN_HOSTS_FILE |
|
208 |
" -oHostKeyAlias=%%s") % (SSH_LOGIN_USER, |
|
209 |
pathutils.SSH_KNOWN_HOSTS_FILE) |
|
209 | 210 |
|
210 | 211 |
KVM_PATH = _autoconf.KVM_PATH |
211 | 212 |
KVM_KERNEL = _autoconf.KVM_KERNEL |
Also available in: Unified diff