use bash as 'source' is needed in provision scripts

This commit is contained in:
downtownallday
2024-10-04 16:27:26 -04:00
parent ae056e507b
commit 696b597a9c
+1 -1
View File
@@ -67,7 +67,7 @@ provision_shell() {
else
local tmp=$(mktemp)
echo "#!/bin/sh" >"$tmp"
echo "#!/bin/bash" >"$tmp"
cat >>"$tmp"
lxc --project "$project" file push "$tmp" "${inst}${remote_path}" $lxc_flags || return 1
rm -f "$tmp"