Ensure /tftpboot dir exists before running restorecon
This commit is contained in:
parent
bc32808667
commit
f41c3331cb
@ -9,6 +9,7 @@ set -eux
|
|||||||
|
|
||||||
install-packages dnsmasq dnsmasq-utils
|
install-packages dnsmasq dnsmasq-utils
|
||||||
# make sure tftpboot is labelled correctly
|
# make sure tftpboot is labelled correctly
|
||||||
|
mkdir -p /tftpboot
|
||||||
restorecon -R /tftpboot
|
restorecon -R /tftpboot
|
||||||
cat > /lib/systemd/system/discovery-dhcp-dnsmasq.service << eof
|
cat > /lib/systemd/system/discovery-dhcp-dnsmasq.service << eof
|
||||||
[Unit]
|
[Unit]
|
||||||
|
Loading…
Reference in New Issue
Block a user