mirror of
https://github.com/retspen/webvirtcloud
synced 2026-07-03 01:55:41 +00:00
Merge 8c4f1d9fe8 into fb108f9ac9
This commit is contained in:
commit
976c66f242
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,7 @@ class wvmInstance(wvmConnect):
|
||||||
dev_type = dev.get("type")
|
dev_type = dev.get("type")
|
||||||
dev_device = dev.get("device")
|
dev_device = dev.get("device")
|
||||||
|
|
||||||
if dev_type == "file":
|
if dev_type == "file" or (dev_device == "disk" and dev_type == "network"):
|
||||||
dev_target = dev.find("target").get("dev")
|
dev_target = dev.find("target").get("dev")
|
||||||
|
|
||||||
elif dev_type == "network":
|
elif dev_type == "network":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue