From 8a0ca3821816069cb36d6d101de0214f6d6abce0 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 11 Nov 2021 11:45:17 +0000 Subject: [PATCH] Correct paths to tftp root directory --- cookbooks/dhcpd/recipes/default.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/dhcpd/recipes/default.rb b/cookbooks/dhcpd/recipes/default.rb index be4fba2ab..af178e28f 100644 --- a/cookbooks/dhcpd/recipes/default.rb +++ b/cookbooks/dhcpd/recipes/default.rb @@ -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" -- 2.39.5