Skip to content

Commit 31faf95

Browse files
authored
Merge pull request #476 from mbaldessari/common-automatic-update
common automatic update
2 parents 5ff813a + 4fe8d1f commit 31faf95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/scripts/pattern-util.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ fi
6262

6363
# Detect if we use podman machine. If we do not then we bind mount local host ssl folders
6464
# if we are using podman machine then we do not bind mount anything (for now!)
65-
REMOTE_PODMAN=$(podman system connection list -q | wc -l)
65+
REMOTE_PODMAN=$(podman system connection list | tail -n +2 | wc -l)
6666
if [ $REMOTE_PODMAN -eq 0 ]; then # If we are not using podman machine we check the hosts folders
6767
# We check /etc/pki/tls because on ubuntu /etc/pki/fwupd sometimes
6868
# exists but not /etc/pki/tls and we do not want to bind mount in such a case

common/scripts/process-secrets.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COMMONPATH=$(dirname "${SCRIPTPATH}")
1212
PATTERNPATH=$(dirname "${COMMONPATH}")
1313

1414
PATTERN_NAME=${1:-$(basename "`pwd`")}
15-
SECRETS_BACKING_STORE="$($SCRIPTPATH/determine-secretstore-backend.sh)"
15+
SECRETS_BACKING_STORE="$("$SCRIPTPATH/determine-secretstore-backend.sh")"
1616

1717
EXTRA_PLAYBOOK_OPTS="${EXTRA_PLAYBOOK_OPTS:-}"
1818

0 commit comments

Comments
 (0)