mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 06:21:15 +02:00
Disable IOS hostname check for Dynamips ghost instances
This commit is contained in:
1 parent
c8245e81be
commit
061ee1491d
1 file changed
+1
-1
@@ -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__(
|
||||
|
||||
Reference in new issue
Block a user