(fix) Add apparmor profiles on genesis node in multinode gate
Prior change[0] breaks if apparmor profiles are not present in the manifest. This commit allows the script to proceed if they are not found. [0]: https://review.opendev.org/#/c/676532/ Change-Id: Idc3f458c0002c707afceb6609de6822fb638f608
This commit is contained in:
parent
6dd38d0f71
commit
77c91e83ac
@ -141,7 +141,7 @@ fi
|
||||
if [[ ! $DISABLE_APPARMOR_PROFILES ]]; then
|
||||
|
||||
manifests_lookup "$rendered_file" "drydock/BootAction/v1" \
|
||||
"apparmor-profiles" "['data']['assets']" "get_size"
|
||||
"apparmor-profiles" "['data']['assets']" "get_size" "true"
|
||||
|
||||
if [[ -n "$RESULT" ]] && [[ $RESULT -gt 0 ]]; then
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user