Repository navigation
Expand file tree
/
Copy pathnetbootd.yml
More file actions
46 lines (36 loc) · 1.49 KB
/
Copy pathnetbootd.yml
File metadata and controls
46 lines (36 loc) · 1.49 KB
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
42
43
44
45
46
---
# This is a sample config file for netbootd in YAML format.
# You can use any format supported by https://github.com/spf13/viper.
# Place this file in /etc/netbootd/ or current working directory.
# Set address to listen on (DHCP, TFTP & HTTP)
#address: 0.0.0.0
# Set interface to listen on
#interface: eth0
# debug logging
debug: false
# trace logging (most verbose)
trace: false
api:
port: 8081
# API endpoints can require static authentication via the HTTP "Authorization" header.
# Uncomment the following line and the value will be required in all API requests (except self-action).
#authorization: Bearer secretkey
# In order for API to use TLS, uncomment and set the following to the correct paths.
#TLSPrivateKeyPath: /etc/ssl/private.key
#TLSCertificatePath: /etc/ssl/certificate.pem
http:
port: 8080
# Manifest store. The store always holds the working set consulted while a host
# boots (including runtime enable/disable). "memory" (the default) is ephemeral;
# "disk" and "sqlite" persist API-managed manifests across restarts.
store:
# backend: memory | disk | sqlite
backend: memory
# directory used by the disk backend
diskPath: /var/lib/netbootd/manifests/
# database file used by the sqlite backend
sqlitePath: /var/lib/netbootd/manifests.sqlite3
# Optional: a directory of manifests to import into the store once at startup.
# Useful for seeding or migrating; imported manifests are mutable via the API
# afterwards. No default.
#manifestPath: /etc/netbootd/manifests/