1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Disable IOS hostname check for Dynamips ghost instances

This commit is contained in:
grossmj 2023-11-22 18:47:05 +10:00
parent c8245e81be
commit 061ee1491d

View File

@ -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__(