Commit graph

7 commits

Author SHA1 Message Date
Aaron Bull Schaefer
5f260621b7 Ensure the help documentation matches available options
Minor reorganization here so the --dry-run option is listed at the end,
and we document that the --timeout option takes an argument. I had also
missed showing the `[-d]` option on the usage message previously.
2016-01-03 11:03:59 -08:00
Aaron Bull Schaefer
20d7048975 Ensure we actually use a 20m timeout as the default
I also slightly re-organized how the default was set, so it will always
rely on the status of the $timeout variable and also the final variable
name matches the name of the Packer option.
2016-01-03 11:02:42 -08:00
Hiroshi Hatake
2464bd2c31 Add timeout option to specify ssh_timeout via wrapacker
Closes #40
Fixes #8
2016-01-01 11:10:59 +09:00
Aaron Bull Schaefer
03abd01c9a Use the correct binary if running Packer from Arch Linux
Resolves #39
2015-12-30 13:58:28 -08:00
Aaron Bull Schaefer
305ab6eda5 Set the VALID_COUNTRIES constant to be read-only 2015-12-30 13:55:10 -08:00
Aaron Bull Schaefer
28fd41e134 Quote the rhs of == in [[ ]] to prevent glob matching.
[SC2053]
2015-12-30 13:51:36 -08:00
Aaron Bull Schaefer
612cfee4cf Add initial wrapacker script
This does not yet call the actual `packer build` command, but it does
grab the metadata correctly. I'll have to change up the option flag
parsing to include the provider type, then it can just call the complete
command rather than passing options through.
2015-10-18 11:06:48 -07:00