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:
parent
c8245e81be
commit
061ee1491d
@ -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__(
|
||||
|
Loading…
Reference in New Issue
Block a user