test: replace openscap with compliance in rhsm facts
See https://github.com/osbuild/images/pull/914
This commit is contained in:
parent
2a6fe9122f
commit
b0c0e84142
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ function _instanceCheck() {
|
|||
fi
|
||||
|
||||
if [ -n "$OPENSCAP_CUSTOMIZATION_BLOCK" ]; then
|
||||
if ! grep -q "image-builder.insights.openscap-profile-id: pci-dss" <<< "$FACTS"; then
|
||||
if ! grep -q "image-builder.insights.compliance-profile-id: pci-dss" <<< "$FACTS"; then
|
||||
echo "System doesn't contain the expected image-builder.insights facts (profile-id)"
|
||||
echo "$FACTS"| grep image-builder
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue