From 061ee1491d28dc3ecf3f3850de56e45050adb0d5 Mon Sep 17 00:00:00 2001 From: grossmj Date: Wed, 22 Nov 2023 18:47:05 +1000 Subject: [PATCH] Disable IOS hostname check for Dynamips ghost instances --- gns3server/compute/dynamips/nodes/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/compute/dynamips/nodes/router.py b/gns3server/compute/dynamips/nodes/router.py index de353eb1..97bcbbd0 100644 --- a/gns3server/compute/dynamips/nodes/router.py +++ b/gns3server/compute/dynamips/nodes/router.py @@ -76,7 +76,7 @@ class Router(BaseNode): ghost_flag=False, ): - if not is_ios_hostname_valid(name): + if not ghost_flag and not is_ios_hostname_valid(name): raise DynamipsError(f"{name} is an invalid name to create a Dynamips node") super().__init__(