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
|
||||
# make sure tftpboot is labelled correctly
|
||||
mkdir -p /tftpboot
|
||||
restorecon -R /tftpboot
|
||||
cat > /lib/systemd/system/discovery-dhcp-dnsmasq.service << eof
|
||||
[Unit]
|
||||
|
|
Loading…
Reference in New Issue