mirror of
https://github.com/gryf/boxpy.git
synced 2026-01-29 11:35:46 +01:00
Fix return value for storageattach method.
This commit is contained in:
4
box.py
4
box.py
@@ -723,8 +723,8 @@ class VBoxManage:
|
|||||||
else:
|
else:
|
||||||
LOG.fatal('Attaching %s to VM "%s" has failed', image,
|
LOG.fatal('Attaching %s to VM "%s" has failed', image,
|
||||||
self.name_or_uuid)
|
self.name_or_uuid)
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def poweron(self):
|
def poweron(self):
|
||||||
if Run(['vboxmanage', 'startvm', self.name_or_uuid, '--type',
|
if Run(['vboxmanage', 'startvm', self.name_or_uuid, '--type',
|
||||||
|
|||||||
Reference in New Issue
Block a user