joefitzgerald/packer-windows — pull request #45 by ranl (2014-03-25 15:54:19+00:00)
Title: fix passing exit status from shell provision to packer

when a shell provision returns with an exit code > 0 packer should fail the build.
from some reason /bin/bash shell of OpenSSH always return exit code 0 which could hide the fact that the provision failed..

this commit will configure the passwd to use the /bin/sh shell which returns the exit code as expected

Note: I didn't test this with vagrant