-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.py.sample
41 lines (33 loc) · 1.04 KB
/
config.py.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
# You should adapt this part to your usage
#
config = {
'base-host': "http://default.tld",
'ipxe-template': "/opt/ipxe-template",
'ipxe-template-uefi': "/opt/ipxe-template-uefi",
'kernel-path': '/tmp/kernels',
'kernel-net-path': '/tmp/kernels/net',
'http-port': 5555,
# enable debug or production mode
'debug': True,
'popular': ['master', 'development'],
'popular-description': {
'master': 'Stable release',
'development': 'Staging version',
},
# bootstrap api token
'api-token': 'change-me-unique-token',
# sqlite3 database used for provisioning
'bootstrap-db': 'db/bootstrap.sqlite3',
# allowed run-modes and their pretty name
# keys defines short name which are used in urls (eg: /ipxe/prod/)
# and value defines pretty name showed in ipxe verbose script
#
# warning: this doesn't affect ui at all
'runmodes': {
"prod": "production (v3)",
"test": "testing (v3)",
"dev": "development (v3)",
"qa": "qa-network (v3)",
},
}