Fix exception when adding VirtualBox VM. Fixes #1685.

This commit is contained in:
grossmj 2019-11-08 17:13:21 +08:00
parent 3aba2a319c
commit 4075bbd703
2 changed files with 9 additions and 7 deletions

View File

@ -205,6 +205,8 @@ class VirtualBoxVM(BaseNode):
else:
await self._refresh_vm_uuid()
await self._create_linked_clone()
else:
await self._refresh_vm_uuid()
if self._adapters:
await self.set_adapters(self._adapters)