mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-04 22:32:32 -04:00
commit
6f5ec64456
1 changed files with 10 additions and 0 deletions
|
|
@ -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`)
|
||||
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" ]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue