Commit 6f5ec644 authored by Mark Peek's avatar Mark Peek

Merge pull request #319 from ahawkins/patch-1

Add sleep tip about ssh
parents ad298abe 9e48f5ea
...@@ -147,3 +147,13 @@ while the provisioner is using /bin/sh. ...@@ -147,3 +147,13 @@ while the provisioner is using /bin/sh.
* Adding a `-x` flag to the shebang at the top of the script (`#!/bin/sh -x`) * Adding a `-x` flag to the shebang at the top of the script (`#!/bin/sh -x`)
will echo the script statements as it is executing. will echo the script statements as it is executing.
*My builds don't always work the same*
* Some distrobutions start the SSH daemon before other core services. This can create race conditions.
Your first provisoner can tell the machine to wait until it completely boots.
{
"type": "script",
"inline": [ "sleep 10" ]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment