Plugin
This commit is contained in:
@@ -370,7 +370,6 @@ class VMOps(object):
|
|||||||
#TODO(mdietz): this will need to be adjusted for swap later
|
#TODO(mdietz): this will need to be adjusted for swap later
|
||||||
task = self._session.call_xenapi('VDI.resize_online', vdi_ref,
|
task = self._session.call_xenapi('VDI.resize_online', vdi_ref,
|
||||||
new_disk_size)
|
new_disk_size)
|
||||||
vm_ref = VMHelper.lookup(self._session, instance.name)
|
|
||||||
self._session.wait_for_task(task, instance.id)
|
self._session.wait_for_task(task, instance.id)
|
||||||
|
|
||||||
def reboot(self, instance):
|
def reboot(self, instance):
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ XenAPI Plugin for transfering data between host nodes
|
|||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
import pickle
|
import pickle
|
||||||
|
import shlex
|
||||||
import shutil
|
import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user