]> git.openstreetmap.org Git - chef.git/commitdiff
Correct paths to tftp root directory
authorTom Hughes <tom@compton.nu>
Thu, 11 Nov 2021 11:45:17 +0000 (11:45 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 11 Nov 2021 11:45:17 +0000 (11:45 +0000)
cookbooks/dhcpd/recipes/default.rb

index be4fba2abc8d6805daada8d74b2683471ec58e36..af178e28f9067e94403a521911294999eb749ecf 100644 (file)
@@ -29,7 +29,7 @@ service "tftpd-hpa" do
   supports :status => true, :restart => true
 end
 
-remote_file "/srv/tftp/netboot.xyz.efi" do
+remote_file "/var/lib/tftpboot/netboot.xyz.efi" do
   action :create
   source "https://boot.netboot.xyz/ipxe/netboot.xyz.efi"
   owner "root"
@@ -37,7 +37,7 @@ remote_file "/srv/tftp/netboot.xyz.efi" do
   mode "644"
 end
 
-remote_file "/srv/tftp/netboot.xyz.kpxe" do
+remote_file "/var/lib/tftpboot/netboot.xyz.kpxe" do
   action :create
   source "https://boot.netboot.xyz/ipxe/netboot.xyz.kpxe"
   owner "root"