From 8c4f1d9fe8015744a51b6479e1ed699938e5db2c Mon Sep 17 00:00:00 2001 From: fangebee <78966083+fangebee@users.noreply.github.com> Date: Thu, 13 Mar 2025 18:17:21 +0100 Subject: [PATCH] Workaround issue #663 do not confuse a network volume with a network interface --- vrtManager/instance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrtManager/instance.py b/vrtManager/instance.py index 9cbe83e..e9659a5 100644 --- a/vrtManager/instance.py +++ b/vrtManager/instance.py @@ -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":