Skip to content

Commit 8c4f1d9

Browse files
authored
Workaround issue #663
do not confuse a network volume with a network interface
1 parent fb108f9 commit 8c4f1d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vrtManager/instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ def get_bootorder(self):
631631
dev_type = dev.get("type")
632632
dev_device = dev.get("device")
633633

634-
if dev_type == "file":
634+
if dev_type == "file" or (dev_device == "disk" and dev_type == "network"):
635635
dev_target = dev.find("target").get("dev")
636636

637637
elif dev_type == "network":

0 commit comments

Comments
 (0)