mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Workaround issue #663
do not confuse a network volume with a network interface
This commit is contained in:
parent
fb108f9ac9
commit
8c4f1d9fe8
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