diff --git a/alpine-make-vm-image b/alpine-make-vm-image index 2e35c34..86ae859 100755 --- a/alpine-make-vm-image +++ b/alpine-make-vm-image @@ -498,7 +498,7 @@ if [ "$SCRIPT" ]; then else einfo "Executing script in chroot: $script_name $*" mount_bind "${SCRIPT%/*}" mnt/ - chroot . sh -c "cd /mnt && ./$script_name \"\$@\"" -- "$@" \ + chroot . /bin/sh -c "cd /mnt && ./$script_name \"\$@\"" -- "$@" \ || die 'Script failed' fi fi