mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 07:08:05 +00:00
Workaround issue #663
do not confuse a network volume with a network interface
This commit is contained in:
@@ -631,7 +631,7 @@ class wvmInstance(wvmConnect):
|
||||
dev_type = dev.get("type")
|
||||
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")
|
||||
|
||||
elif dev_type == "network":
|
||||
|
||||
Reference in New Issue
Block a user