I'm a new to this project and have always done my SCAP lock downs with
kickstart scripts up until now. This looks to be something I switched to a
long time ago.
In the environment I work in, I need to make custom ISO installation disks
to send out to the field. I've been testing out the 'addon
xccdf_org.ssgproject.content_profile_stig-rhel7-disa' security profile and
then made a custom tailored XML following the guidelines keep a few things
on that were being removed. My problem is that now that I have my
'ssg-rhel7-ds-tailoring.xml' file, where do I put it in my kickstart
image? I've tried copying it in the post -nochroot section of my kickstart
to /tmp/openscap_data and /root/openscap_data and neither of those
worked.
Can someone tell me or show me where in the guide it show where it's
supposed to go?
This is what my kickstart looks like:
-------------------------------------
%post --nochroot
cp /run/install/repo/hardening/ssg-rhel7-ds-tailoring.xml
/root/openscap_data/
%addon org_fedora_oscap
content-type = scap-security-guide
profile=xccdf_org.ssgproject.content_profile_stig-rhel7-disa
tailoring-path=ssg-rhel7-ds-tailoring.xml
%end
-------------------------------------
Thanks for all the work...this is a great project.