Skip to content

Commit 2bb2607

Browse files
committed
Forbid -nic and -nicdev in Qemu additional options. Fixes #2397
1 parent 6746ef3 commit 2bb2607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gns3server/compute/qemu/qemu_vm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
# forbidden additional options
5757
FORBIDDEN_OPTIONS = {"-blockdev", "-drive", "-hda", "-hdb", "-hdc", "-hdd",
58-
"-fsdev", "-virtfs"}
58+
"-fsdev", "-virtfs", "-nic", "-netdev"}
5959
FORBIDDEN_OPTIONS |= {"-" + opt for opt in FORBIDDEN_OPTIONS
6060
if opt.startswith("-") and not opt.startswith("--")}
6161

0 commit comments

Comments
 (0)