diff --git a/common/scripts/pattern-util.sh b/common/scripts/pattern-util.sh index ff6b2bbb6..77e0ed389 100755 --- a/common/scripts/pattern-util.sh +++ b/common/scripts/pattern-util.sh @@ -62,7 +62,7 @@ fi # Detect if we use podman machine. If we do not then we bind mount local host ssl folders # if we are using podman machine then we do not bind mount anything (for now!) -REMOTE_PODMAN=$(podman system connection list -q | wc -l) +REMOTE_PODMAN=$(podman system connection list | tail -n +2 | wc -l) if [ $REMOTE_PODMAN -eq 0 ]; then # If we are not using podman machine we check the hosts folders # We check /etc/pki/tls because on ubuntu /etc/pki/fwupd sometimes # exists but not /etc/pki/tls and we do not want to bind mount in such a case diff --git a/common/scripts/process-secrets.sh b/common/scripts/process-secrets.sh index a0d34f880..10288d1f7 100755 --- a/common/scripts/process-secrets.sh +++ b/common/scripts/process-secrets.sh @@ -12,7 +12,7 @@ COMMONPATH=$(dirname "${SCRIPTPATH}") PATTERNPATH=$(dirname "${COMMONPATH}") PATTERN_NAME=${1:-$(basename "`pwd`")} -SECRETS_BACKING_STORE="$($SCRIPTPATH/determine-secretstore-backend.sh)" +SECRETS_BACKING_STORE="$("$SCRIPTPATH/determine-secretstore-backend.sh")" EXTRA_PLAYBOOK_OPTS="${EXTRA_PLAYBOOK_OPTS:-}"