This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdyntftpd.conf
103 lines (85 loc) · 2.72 KB
/
dyntftpd.conf
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
; /etc/dyntftpd.conf - Configuration for the dyntftpd
; ------------------------------------------------------------------------
[daemon]
; (Optional) Directories added to the python module search path.
module_path = /etc/pxelinux.cfg/modules:/var/lib/pxe/modules
; ------------------------------------------------------------------------
[tftp]
; Host / IP-address that the daemon should listen on.
host = 127.0.0.1
; Port that the daemon should listen on.
port = 2069
; ------------------------------------------------------------------------
[overlays]
; Comma seperated list of overlays.
;keys=native,kernel,pxe_linux
keys=
[overlay_native]
; Where is the overlay based in the virtual file-system?
virtual_dir = /
; Uncomment to match the virtual dir case-insensitively.
;virtual_case_sensitive = False
; Type of overlay? Redirect requests to the actual file-system.
type = native
; Uncomment to handle the requested path case-insensitively.
;case_sensitive = False
; Path to the regular TFTP root filesystem.
root = /srv/tftp
[overlay_kernel]
; Where is the overlay based in the virtual file-system?
virtual_dir = /
; Uncomment to match the virtual dir case-insensitively.
;virtual_case_sensitive = False
; Type of overlay? Provide the newest kernel and initrd images on request
; for vmlinuz-.* and initrd.img-.*
type = newest_kernel
; Where are the available kernel images and initrds stored?
image_dir = /boot
[overlay_pxe_linux]
; Where is the overlay based in the virtual file-system?
virtual_dir = /pxelinux.cfg
; Uncomment to match the virtual dir case-insensitively.
;virtual_case_sensitive = False
; Type of overlay? Generate response by executing python code in a
; configuration file, who's name is chosen based on the requested file name.
type = pxelinux_config
; Directory to search for the client configs.
pxelinux_config_dir = /etc/dyntftpd/pxelinux.d
hostname_regex = (^[^\.]+)\.local\.domain
global_cfg_dir = /etc/pxelinux.cfg
; ------------------------------------------------------------------------
; Logging configuration
; ------------------------------------------------------------------------
[formatters]
keys=simple
[formatter_simple]
format=%(name)s:%(levelname)s: %(message)s
[handlers]
keys=syslog,console
[handler_syslog]
class=handlers.SysLogHandler
level=NOTSET
formatter=simple
args=('/dev/log',)
[handler_console]
class=StreamHandler
level=NOTSET
formatter=simple
args=(sys.stdout,)
[loggers]
keys=root,tftpy,dyntftpd
[logger_root]
level=NOTSET
handlers=syslog,console
[logger_tftpy]
level=INFO
handlers=syslog,console
propagate=0
qualname=tftpy
[logger_dyntftpd]
level=NOTSET
handlers=syslog,console
propagate=0
qualname=dyntftpd
; ------------------------------------------------------------------------
; vim:set ft=dosini: