Manage ownership/mode/SELinux context of generated grubx86.efi
The exec that generates the grub2/grubx86.efi file in the TFTP root runs as root, but the recursive file resource on tftp_dirs specifies the file owner as foreman-proxy. This causes the owner and selowner properties to change back on the second run.
Adding a file resource ensures the file ownership etc. is set on the first run after the file is generated.
Manage ownership/mode/SELinux context of generated grubx86.efi
The exec that generates the grub2/grubx86.efi file in the TFTP root runs
as root, but the recursive file resource on tftp_dirs specifies the file
owner as foreman-proxy. This causes the owner and selowner properties to
change back on the second run.
Adding a file resource ensures the file ownership etc. is set on the
first run after the file is generated.