File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,11 @@ buildah_version_minor=$(echo "$buildah_version" | awk -F. '{print $2}')
6060
6161buildah_extra_args=()
6262
63- # buildah accept --env since 1.23
63+ # buildah accepts --env since 1.23
6464echo " buildah version: $buildah_version "
6565if [[ $buildah_version_major -eq 1 ]] && [[ " $buildah_version_minor " -gt 23 ]]; then
6666 buildah_extra_args+=(-e ANSIBLE_VERBOSITY=" ${ANSIBLE_VERBOSITY:- 0} " )
67+ buildah_extra_args+=(-e HOME=" $HOME " )
6768fi
6869
6970cmd_extra_args=" "
@@ -81,7 +82,6 @@ mkdir -p "$HOME/.kube"
8182buildah run --isolation chroot --user $( id -u) :$( id -g) \
8283 -t " ${buildah_extra_args[@]} " \
8384 --net=host \
84- -e " HOME=$HOME " \
8585 -v " $( mktemp -d) :$HOME /.ansible" \
8686 -v " $HOME /.ssh:$HOME /.ssh" \
8787 -v " $HOME /.kube:$HOME /.kube" \
You can’t perform that action at this time.
0 commit comments