Ensure /tftpboot dir exists before running restorecon

This commit is contained in:
James Slagle 2014-09-18 20:13:17 -04:00
parent bc32808667
commit f41c3331cb
1 changed files with 1 additions and 0 deletions

View File

@ -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]