stages/oscap.autotailor: rename new_profile
Rename the `new_profile` option to `tailoring_profile_id` for clarity. This also ensures that the change is backwards compatible by falling back to the `new_profile` option if that was set instead of the `tailoring_profile` id option.
This commit is contained in:
parent
16667ef260
commit
2a28acbc85
5 changed files with 19 additions and 11 deletions
|
|
@ -464,7 +464,7 @@
|
|||
"config": {
|
||||
"datastream": "/usr/share/xml/scap/ssg/content/ssg-fedora-ds.xml",
|
||||
"profile_id": "xccdf_org.ssgproject.content_profile_ospp",
|
||||
"new_profile": "xccdf_org.ssgproject.content_profile_ospp_osbuild_tailoring",
|
||||
"tailored_profile_id": "xccdf_org.ssgproject.content_profile_ospp_osbuild_tailoring",
|
||||
"selected": [
|
||||
"partition_for_var_log"
|
||||
],
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ pipelines:
|
|||
config:
|
||||
datastream: /usr/share/xml/scap/ssg/content/ssg-fedora-ds.xml
|
||||
profile_id: xccdf_org.ssgproject.content_profile_ospp
|
||||
new_profile: xccdf_org.ssgproject.content_profile_ospp_osbuild_tailoring
|
||||
tailored_profile_id: xccdf_org.ssgproject.content_profile_ospp_osbuild_tailoring
|
||||
selected:
|
||||
- partition_for_var_log
|
||||
unselected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue