Revision 6c0af70e daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
338 | 338 |
"""Run the import function of an OS onto a given instance. |
339 | 339 |
|
340 | 340 |
""" |
341 |
inst_s, os_disk, swap_disk, src_node, src_image, cluster_name = params
|
|
341 |
inst_s, src_node, src_images, cluster_name = params
|
|
342 | 342 |
inst = objects.Instance.FromDict(inst_s) |
343 |
return backend.ImportOSIntoInstance(inst, os_disk, swap_disk,
|
|
344 |
src_node, src_image, cluster_name)
|
|
343 |
return backend.ImportOSIntoInstance(inst, src_node, src_images,
|
|
344 |
cluster_name) |
|
345 | 345 |
|
346 | 346 |
@staticmethod |
347 | 347 |
def perspective_instance_shutdown(params): |
Also available in: Unified diff