saltstack/salt-cloud — pull request #592 by mafrosis (2013-05-22 06:50:35+00:00)
Title: Handling of display_ssh_output in wait_for_passwd

I run a script which wraps salt-cloud and uses the `-out json` option to action various minions after creation. Any garbage that's printed onto the terminal by salt-cloud obviously breaks this.

This patch prevents `wait_for_password` calling into `root_cmd` without `display_ssh_output` set.