1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-26 00:38:10 +00:00

Default compute username is "gns3"

This commit is contained in:
grossmj 2023-11-12 18:02:19 +10:00
parent 8a208dbf04
commit e367b3a148
2 changed files with 3 additions and 3 deletions

View File

@ -86,9 +86,9 @@ udp_end_port_range = 30000
; uBridge executable location, default: search in PATH ; uBridge executable location, default: search in PATH
;ubridge_path = ubridge ;ubridge_path = ubridge
; Username for compute HTTP authentication. ; Username for compute HTTP authentication, "gns3" is the default if not specified
compute_username = gns3 compute_username = gns3
; Password for compute HTTP authentication. ; Password for compute HTTP authentication, a randomly generated password is used if not specified
compute_password = gns3 compute_password = gns3
; Only allow these interfaces to be used by GNS3, for the Cloud node for example (Linux/OSX only) ; Only allow these interfaces to be used by GNS3, for the Cloud node for example (Linux/OSX only)

View File

@ -138,7 +138,7 @@ class ServerSettings(BaseModel):
udp_start_port_range: int = Field(10000, gt=0, le=65535) udp_start_port_range: int = Field(10000, gt=0, le=65535)
udp_end_port_range: int = Field(30000, gt=0, le=65535) udp_end_port_range: int = Field(30000, gt=0, le=65535)
ubridge_path: str = "ubridge" ubridge_path: str = "ubridge"
compute_username: str = "admin" compute_username: str = "gns3"
compute_password: SecretStr = SecretStr("") compute_password: SecretStr = SecretStr("")
allowed_interfaces: List[str] = Field(default_factory=list) allowed_interfaces: List[str] = Field(default_factory=list)
default_nat_interface: str = None default_nat_interface: str = None