Commit Graph

109 Commits

Author SHA1 Message Date
Mitchell Hashimoto 0363a1cdc2 builder/virtualbox,vmware: use DownloadableURL 2013-07-29 00:13:30 -07:00
Mitchell Hashimoto ce5849308b fmt 2013-07-25 20:49:39 -05:00
Jeff Stamerjohn 32eaa39a5f Merge branch 'master' into jstamerj/windows 2013-07-25 09:31:02 -07:00
Jeff Stamerjohn 4ff0185add Windows fixes
Strip carriage returns from end of lines in virtualbox/driver.go, fixing wait for virtualbox host shutdown.
Fix target upload directory path in communicator.go to use forward slashes.  (When running on windows path/filepath returns backslashes...which does not work when the target host is unix).
2013-07-25 09:28:04 -07:00
Mitchell Hashimoto 56c3cbfb2a builder/common: common config struct for Packer configs 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto 56cf09f29e builder/virtualbox: shutdown messages go to Ui 2013-07-23 22:42:39 -05:00
Mitchell Hashimoto 91c1bf0b8a Merge pull request #204 from sit/builder-output-directory-error
builder/v*: Include path to output dir in error
2013-07-20 16:58:39 -07:00
Mitchell Hashimoto d999d1c5dd Merge pull request #205 from sit/preserve-cache-suffix
Preserve suffix of files put in the cache.
2013-07-20 16:40:31 -07:00
Mitchell Hashimoto e84811e2f8 Update changelog 2013-07-20 16:37:48 -07:00
JD Harrington dbd45dfd58 Add special keys for backspace, delete and F1-F12 2013-07-20 15:37:01 -04:00
Emil Sit 329266e86e builder/v*: Include path to output dir in error 2013-07-20 00:36:59 -04:00
Emil Sit e171477e15 Revert "builder/virtualbox: Copy ISO because VirtualBox can't recognize"
This reverts commit 688be43811007d33b9c70dec93b43782a4f71c06; instead
of copying the ISO (which can be huge), we have adjusted the cache path
to include the extension of the source file.

Conflicts:

	builder/virtualbox/step_download_iso.go
2013-07-20 00:26:46 -04:00
Mitchell Hashimoto 16d102d055 builder/*: switch to MultiErrorAppend 2013-07-19 19:08:25 -04:00
Mitchell Hashimoto 42059f9b07 builder/*: extract to common the config decoding 2013-07-19 15:00:32 -04:00
Mitchell Hashimoto 8e1e40c096 builder/*: convert to common StepProvision 2013-07-16 15:44:41 +09:00
Mitchell Hashimoto 979bfc412e builder/virtualbox: use common SSH connect step 2013-07-15 14:17:09 +09:00
Mitchell Hashimoto 9387ba0fd4 packer: Make builder type available in configs [GH-154] 2013-07-15 09:58:32 +09:00
Mitchell Hashimoto 16960a52f2 builder/virtualbox: unexport calculated fields 2013-07-14 21:22:11 +09:00
Mitchell Hashimoto a0f1667df1 communicator/ssh: tweakable timeout on retry connection 2013-07-14 21:05:22 +09:00
Mitchell Hashimoto 9718a4656c communicator/ssh: have a Connection func so we can re-establish
[GH-152]
2013-07-14 20:22:57 +09:00
Mitchell Hashimoto 3007498282 builder/virtualbox: support generic hash types [GH-175] 2013-07-14 15:50:34 +09:00
Mitchell Hashimoto 3b4ef72e47 Unused keys are invalid in templates [GH-104] 2013-07-14 09:28:56 +09:00
Mitchell Hashimoto 245deaf599 buidler/virtualbox,vmware: only stat if not force
/cc @jasonberanek - Swapped this because why even bother doing a stat
if we're forcing anyways.
2013-07-13 14:47:08 +09:00
Jason A. Beranek 9c31c69a7b Remove output directory in a step when "-force" flag step [GH-178] 2013-07-12 21:23:00 -05:00
Mitchell Hashimoto 2981da4eef fmt 2013-07-13 10:01:27 +09:00
Jason A. Beranek 13c733a3db Add support for -force flag on builds [GH-119] 2013-07-11 23:43:23 -05:00
Mitchell Hashimoto 2ad30e1ea1 builder/virtualbox: paused is still running 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto dbad270d27 builder/virtualbox: remove floppy drive before exporting 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 45c47e64fa builder/virtualbox: support floppy_files 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto 019ab13f53 builder/virtualbox: whitespace 2013-07-07 18:04:30 -07:00
Mitchell Hashimoto f83ec95928 builder/virtualbox: style nitpicks and CHANGELOG 2013-07-07 09:17:27 -07:00
Mitchell Hashimoto 1e7508c828 fmt 2013-07-07 09:14:41 -07:00
Mitchell Hashimoto f8617b2641 builder/virtualbox: test the configuration
/cc @sgirones
2013-07-07 09:14:16 -07:00
Mitchell Hashimoto d289a6a850 builder/virtualbox: typo in test 2013-07-07 09:09:22 -07:00
Mitchell Hashimoto 509712c4a4 Merge pull request #145 from sgirones/feature/local-mode-guest-additions
builder/virtualbox: Local mode for VBoxGuestAdditions. Provide local path and SHA256
2013-07-07 09:07:56 -07:00
Salvador Gironès babd47541b Local mode for VBoxGuestAdditions. Provide local path and SHA256 2013-07-06 11:28:56 +02:00
Mitchell Hashimoto 1a2e4f9d0b fmt 2013-07-05 11:00:18 -07:00
Brandon Liu 6cdc938f46 Virtualbox: clean up port forwarding before exporting OVF. 2013-07-04 14:46:39 -07:00
Geoffrey Bachelet c5258c5422 Typo 2013-07-03 19:11:37 -04:00
Mitchell Hashimoto 50095283ef builder/virtualbox, builder/vmware: keyboard-interactive [GH-121] 2013-07-02 22:02:58 -07:00
Mitchell Hashimoto 2b010269a3 builder/virtualbox: Warning about headless mode
/cc @smerrill
2013-07-02 12:20:26 -07:00
Mitchell Hashimoto 67920da4ec Merge pull request #108 from smerrill/headless-mode
builder/vmware, builder/virtualbox: Headless mode
2013-07-02 12:16:40 -07:00
Brandon Liu 471f33d02e Add wait5 and wait10 special keys for boot command. 2013-07-02 10:31:22 -07:00
Steven Merrill 2aeb756a56 Add VirtualBox headless mode. 2013-07-02 00:13:24 -04:00
Mitchell Hashimoto bac976332f builder/virtualbox, builder/vmware: output and VM name based on build
[GH-91]
2013-07-01 11:11:51 -07:00
Mitchell Hashimoto 9cf78edcf0 builder/virtualbox: trim whitespace when getting version 2013-07-01 10:59:04 -07:00
Mitchell Hashimoto b317c763ac builder/virtualbox: add more logging to version detection 2013-06-29 13:45:30 -07:00
Mitchell Hashimoto daac8b959f builder/common: Fix nil deref on race condition [GH-52]
When verifying large files, the checksum would take a long time and
downloader would be nil. When the goroutine asked for progress,
it would raise a nil exception.
2013-06-28 22:34:43 -04:00
Mitchell Hashimoto 8aaadf354a builder/virtualbox,vmware: work if port range for HTTP is 0 [GH-53] 2013-06-28 22:00:01 -04:00
Mitchell Hashimoto 30fadde297 builder/virtualbox: Tests for the defaults [GH-44] 2013-06-28 16:01:50 -04:00