diff options
| author | matt.dietz@rackspace.com <> | 2011-03-23 21:46:29 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-03-23 21:46:29 +0000 |
| commit | 6912b0e1efd6ba3814d3b29beef236bfe4da52ea (patch) | |
| tree | 5e6574417b782e09adb72d7157144ea67f454dc8 /plugins | |
| parent | b8af3522a731c64118882d7a6024f50f21407d50 (diff) | |
| parent | 98b4f0924257dcfa12e4881950472e983f08ef1d (diff) | |
| download | nova-6912b0e1efd6ba3814d3b29beef236bfe4da52ea.tar.gz nova-6912b0e1efd6ba3814d3b29beef236bfe4da52ea.tar.xz nova-6912b0e1efd6ba3814d3b29beef236bfe4da52ea.zip | |
Updates the previously merged xs_migration functionality to allow upsizing of the RAM and disk quotas for a XenServer instance.
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/xenserver/xenapi/etc/xapi.d/plugins/migration | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration b/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration index 4aa89863a..75c653408 100644 --- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration +++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration @@ -22,6 +22,7 @@ XenAPI Plugin for transfering data between host nodes import os import os.path import pickle +import shlex import shutil import subprocess @@ -97,7 +98,7 @@ def transfer_vhd(session, args): logging.debug("Preparing to transmit %s to %s" % (source_path, dest_path)) - ssh_cmd = 'ssh -o StrictHostKeyChecking=no' + ssh_cmd = '\"ssh -o StrictHostKeyChecking=no\"' rsync_args = shlex.split('nohup /usr/bin/rsync -av --progress -e %s %s %s' % (ssh_cmd, source_path, dest_path)) |
