Project

General

Profile

« Previous | Next » 

Revision 8ca4fd7b

Added by Dominic Cleal over 7 years ago

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.

  • added
  • modified
  • copied
  • renamed
  • deleted