A.4. restorecon 템플릿 렌더링
이 예에서는 Run 명령에서 파생된 템플릿 - restorecon 템플릿으로 작성된 템플릿을 생성하는 방법을 보여줍니다. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.10/html-single/managing_hosts/index#default-example-restorecon-template_managing-hosts 이 템플릿은 작업 실행에 대한 사용자 입력이 필요하지 않으며 대상 호스트의 /home/ 디렉터리에 있는 모든 파일의 SELinux 컨텍스트를 복원합니다.
작업 템플릿 설정에 설명된 대로 새 템플릿을 생성하고 템플릿 편집기에서 다음 문자열을 지정합니다.
<%= render_template("Run Command - restorecon", :directory => "/home") %>