mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Change default config settings
This commit is contained in:
1 parent
c5a6cd8d33
commit
d1d36ce254
3 files changed
+23
-24
No files matched your search
+19
-20
@@ -1,3 +1,18 @@
|
||||
[Controller]
|
||||
|
||||
; Options for JWT tokens (user authentication)
|
||||
jwt_secret_key = efd08eccec3bd0a1be2e086670e5efa90969c68d07e072d7354a76cea5e33d4e
|
||||
jwt_algorithm = HS256
|
||||
jwt_access_token_expire_minutes = 1440
|
||||
|
||||
; Initial default super admin username
|
||||
; It cannot be changed once the controller has started once
|
||||
default_admin_username = admin
|
||||
|
||||
; Initial default super admin password
|
||||
; It cannot be changed once the controller has started once
|
||||
default_admin_password = admin
|
||||
|
||||
[Server]
|
||||
|
||||
; What protocol the server uses (http or https)
|
||||
@@ -57,20 +72,10 @@ udp_end_port_range = 30000
|
||||
; uBridge executable location, default: search in PATH
|
||||
;ubridge_path = ubridge
|
||||
|
||||
; Option to enable HTTP authentication.
|
||||
enable_http_auth = False
|
||||
; Username for HTTP authentication.
|
||||
user = gns3
|
||||
; Password for HTTP authentication.
|
||||
password = gns3
|
||||
|
||||
; Initial default super admin username
|
||||
; It cannot be changed once the server has started once
|
||||
default_admin_username = "admin"
|
||||
|
||||
; Initial default super admin password
|
||||
; It cannot be changed once the server has started once
|
||||
default_admin_password = "admin"
|
||||
; Username for compute HTTP authentication.
|
||||
compute_username = gns3
|
||||
; Password for compute HTTP authentication.
|
||||
compute_password = gns3
|
||||
|
||||
; Only allow these interfaces to be used by GNS3, for the Cloud node for example (Linux/OSX only)
|
||||
; Do not forget to allow virbr0 in order for the NAT node to work
|
||||
@@ -80,12 +85,6 @@ allowed_interfaces = eth0,eth1,virbr0
|
||||
; Default is virbr0 on Linux (requires libvirt) and vmnet8 for other platforms (requires VMware)
|
||||
default_nat_interface = vmnet10
|
||||
|
||||
[Controller]
|
||||
; Options for JWT tokens (user authentication)
|
||||
jwt_secret_key = efd08eccec3bd0a1be2e086670e5efa90969c68d07e072d7354a76cea5e33d4e
|
||||
jwt_algorithm = HS256
|
||||
jwt_access_token_expire_minutes = 1440
|
||||
|
||||
[VPCS]
|
||||
; VPCS executable location, default: search in PATH
|
||||
;vpcs_path = vpcs
|
||||
|
||||
Reference in new issue
Block a user