Is done here:
https://github.com/schmto/nmsprime/blob/dev/modules/ProvBase/Install/files/tftp
| Code Block | ||
|---|---|---|
| ||
# install
yum install xinetd
# edit tftp config file
echo "
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot -v # changed root dir
disable = no # enable
per_source = 11
cps = 100 2
flags = IPv4
}" > /etc/xinetd.d/tftp
# start server
systemctl enable xinetd
systemctl start xinetd
# directory
cd /tftpboot && mkdir cm mta cvc backup fw
chown -R apache /tftpboot |