Megan Marsh
4f3b470804
add helper function to manage validation of filepaths created using DownloadableURL
2018-01-03 16:53:47 -08:00
Megan Marsh
54bd057bb9
fix nasty edge case where we can't find guest additions on windows if they are on a different drive
2018-01-03 14:34:11 -08:00
Megan Marsh
0efcb1bba2
dont error in the downloadableURL function; save validation for preflight steps
2017-11-13 12:42:57 -08:00
Megan Marsh
3a9dfb5b18
better
2017-11-13 12:42:57 -08:00
Megan Marsh
e45a006d61
clearly state that url is wrong at validation stage of build
2017-11-13 12:42:57 -08:00
Chris Bednarski
ee2d636840
Improve delay between key events
...
- Can now tune delay using PACKER_KEY_INTERVAL
- Added implementation to all of VMware and QEMU
- Removed double delay for QEMU
- Default key delay of 100ms (as before)
- Added docs to QEMU and VMware pages
2017-01-14 17:56:04 -08:00
Mitchell Hashimoto
1e853f9f1f
common: revert some changes from #2121 for Windows
2015-06-13 10:21:09 -04:00
Mitchell Hashimoto
44008c321b
Merge pull request #2121 from josharian/no-scrub-empty
...
common: two minor fixes
2015-05-27 20:17:51 -07:00
Mitchell Hashimoto
adb6b43dd8
common: remove unused config methods
2015-05-27 14:58:09 -07:00
Josh Bleecher Snyder
2fe785ed35
common: remove dead code
...
The referenced bug was fixed in Go 1.2,
and Packer requires Go 1.2+.
2015-05-18 15:13:36 -07:00
Josh Bleecher Snyder
76c8cfd498
common: don't scrub ""
...
If the access_key or secret_key were loaded from
somewhere other than the packer file then
ScrubConfig can get called to scrub "" and "".
This results in very long output:
<Filtered><<Filtered>F<Filtered>i...
Don't do that.
2015-05-18 15:13:01 -07:00
Grégoire Pineau
97c56347a1
Better error reporting when a config key in template is Unknown
...
This patch will allow to fix the following bug much faster:
```
1 error(s) occurred:
* Unknown configuration key: output_directory
```
Related configuration:
```
"output_directory ": "build/sl_base/",
```
After the patch, the error reporting will be:
```
1 error(s) occurred:
* Unknown configuration key: "output_directory¤"
```
2015-03-05 10:23:21 +01:00
Mitchell Hashimoto
5c5d62733f
fmt
2014-05-01 14:24:19 -07:00
Mitchell Hashimoto
5cd2cfa563
comment so future-mitchell knows what I've done
2014-04-28 16:19:35 -07:00
Mitchell Hashimoto
ba05119a75
common: user variable conversion to non-string types works [GH-1079]
2014-04-28 16:18:45 -07:00
Mitchell Hashimoto
d5981c69f2
common: config strings to slices [GH-950]
2014-04-27 14:47:16 -07:00
Mitchell Hashimoto
5dec2ddb9c
common: weakly decode the PackerConfig
2014-04-26 14:23:22 -07:00
Mitchell Hashimoto
5fac6c79c4
fmt
2014-04-26 11:12:43 -07:00
Mitchell Hashimoto
8395d0e97a
common: tests for ChooseSTring
2014-04-21 21:30:49 -07:00
Mitchell Hashimoto
7191c1f250
common: Fix URL parsing issues on Windows
2014-04-21 21:28:47 -07:00
Devin Carlen
bef63846af
Add support for standard OpenStack environment variables
2014-02-17 15:30:01 -08:00
Mitchell Hashimoto
4c6800f5a3
common: process user variables in non-string config decodes [GH-598]
2013-12-16 17:57:07 -08:00
Mitchell Hashimoto
a380391b0e
common: allow files that don't exist to be URLs [GH-683]
2013-12-06 18:31:56 -08:00
Matthew Hooker
5315b19822
common/config: config filter function [GH-521]
...
Fixes #521
2013-10-13 11:01:12 -07:00
Mitchell Hashimoto
877dfb81fe
common: Allow user variables to be used for ints/bools/etc. [GH-418]
2013-09-18 16:18:39 -07:00
Mitchell Hashimoto
9e01b5a478
common: detect drive letter with windows file URLs [GH-284]
2013-08-15 20:16:05 -07:00
Mitchell Hashimoto
2b41f05848
common: replace windows file URL backslash with forward slash
...
/cc @jasonberanek - Just adding this as well because I see this being
common as well.
2013-08-03 13:38:27 -07:00
Mitchell Hashimoto
e2c667101c
common: style
2013-08-03 13:34:48 -07:00
Jason A. Beranek
3fa5fa396a
common/config,download: gofmt fixes
2013-08-02 16:06:06 -05:00
Jason A. Beranek
760f102c91
common/config,download: fix URL and relative Windows local file path issues [GH-235] [GH-239]
2013-08-02 15:59:19 -05:00
Mitchell Hashimoto
5b7d8fbc74
rename builder/common to common since it is generally useful
2013-08-01 12:11:54 -07:00