mitchellh/packer — pull request #1655 by jmassara (2014-11-04 03:19:47+00:00)
Title: Use sudo only if prevent_sudo is not set

Honor the prevent_sudo configuration setting when creating and removing the chef staging directory. Sudo is not always installed (e.g. docker containers).