1
0
mirror of https://github.com/gryf/boxpy.git synced 2026-01-07 11:04:24 +01:00

Fix return value for storageattach method.

This commit is contained in:
2021-07-06 19:51:48 +02:00
parent 2048455410
commit 73803e2c4b

4
box.py
View File

@@ -723,8 +723,8 @@ class VBoxManage:
else:
LOG.fatal('Attaching %s to VM "%s" has failed', image,
self.name_or_uuid)
return False
return True
return False
return True
def poweron(self):
if Run(['vboxmanage', 'startvm', self.name_or_uuid, '--type',