139 Commits

Author SHA1 Message Date
Lyndon Washington
53b15e62cc Formatted contributions 2013-10-09 13:14:09 -04:00
Lyndon Washington
50bc71e4a2 Moved the 1 sec timeout to the export step 2013-10-09 12:59:47 -04:00
Mitchell Hashimoto
475b65cb3b builder/virtualbox: detect vboxdrv issues [GH-488] 2013-10-02 17:13:22 -07:00
Mitchell Hashimoto
c897998ec9 builder/virtualbox: error if version can't be detected [GH-488] 2013-10-02 17:11:42 -07:00
Mitchell Hashimoto
30eccf4130 builder/virtualbox: support attaching guest additions [GH-405] 2013-09-18 18:15:46 -07:00
Mitchell Hashimoto
11a68992ad builder/virtualbox: fix scan codes 2013-09-15 23:41:08 -07:00
Mitchell Hashimoto
61d9bb73a7 fmt 2013-09-15 23:29:29 -07:00
Charlie Sharpsteen
2bd13bbfe7 Fix scancode comment concerning key release
According to the scancode reference, the release key code is generated by
adding `0x80` to the key press code, not `0x81`.
2013-09-15 23:18:55 -07:00
Charlie Sharpsteen
bb8e7f7814 Fix VirtualBox scancodes
Support for the backspace, delete and F1-F12 keys was added in commit 6028a3c.
However, that commit seems to have copied character codes from the vmware
builder into the VirtualBox builder. Character codes are appropriate for VMware
which communicates through a VNC. However, VirtualBox communicates through
simulating raw keyboard input and therefore needs scancodes which are key
press/key release sequences.

This patch converts backspace, delete and F1-F10 to scancodes. F11 and F12 are
not listed in the [scancode reference][scancodes] so they have been omitted.

[scancodes]: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
2013-09-15 21:45:11 -07:00
Sean Mackrory
27a2270593 Using the vm_name parameter to name OVA/OVF files and their attachments 2013-09-06 23:38:31 -07:00
Mitchell Hashimoto
bf1a2f4899 builder/virtualbox: process hdd interface as template, validate 2013-09-05 12:07:58 -07:00
Justin Bronn
3043eddfaf Enable customization of VirtualBox disk controller with hard_drive_interface option (SATA only). 2013-09-05 11:00:08 -07:00
Mitchell Hashimoto
8d5f8dc423 builder/virtualbox: new multistep API 2013-08-31 12:44:58 -07:00
Mitchell Hashimoto
19bafd8da8 builder/virtualbox: support ssh keys as auth mechanism [GH-70] 2013-08-27 22:55:13 -07:00
Mitchell Hashimoto
7ad307e95a builder/virtualbox: fmt 2013-08-19 16:24:29 -07:00
Mitchell Hashimoto
844e355ed3 website: document formats feature 2013-08-19 16:10:49 -07:00
Johan Siebens
a73ec1deb7 builder/virtualbox: export to ovf or ova (default ovf) 2013-08-19 20:21:36 +02:00
Mitchell Hashimoto
a1a7ff20c2 *: switch to packer ConfigTemplate 2013-08-15 19:17:23 -07:00
Mitchell Hashimoto
a6d4e326a7 builder/virtualbox: iso_urls for multiple ISO urls [GH-110] 2013-08-15 17:46:41 -07:00
Mitchell Hashimoto
bda45c1b53 builder/virtualbox: remove unused function 2013-08-15 17:46:40 -07:00
Mitchell Hashimoto
4188e07fc2 builder/virtualbox: switch download guest additions to use new common 2013-08-15 17:46:40 -07:00
Mitchell Hashimoto
2946d14edf common: Add new StepDownload to DRY up downloads 2013-08-15 17:46:40 -07:00
Mitchell Hashimoto
9f84f2c363 common: return -1 download percent if download hasn't started [GH-288] 2013-08-14 11:15:47 -04:00
Mitchell Hashimoto
91af560d26 builder/virtualbox: Don't validate guest additions URL so early because it requires template 2013-08-14 09:59:09 -04:00
Mitchell Hashimoto
80e37446e9 builder/virtualbox: guest-additions_url can use Version var [GH-272] 2013-08-13 22:11:15 -04:00
Mitchell Hashimoto
2789162fec builder/virtualbox: instantiate driver in Run method 2013-08-13 08:55:33 -07:00
Mitchell Hashimoto
100458955f builder/*, provisioner/*: set user vars 2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
8fad60b1b4 builder/virtualbox: use new template processing stuff 2013-08-08 17:25:25 -07:00
Mitchell Hashimoto
ef59ee41a8 rename builder/common to common since it is generally useful 2013-08-01 12:11:54 -07:00
Mitchell Hashimoto
8f6b2e4d32 builder/virtualbox,vmware: retry removing output dir if fails 2013-07-31 15:16:39 -07:00
Mitchell Hashimoto
0bff938880 builder/virtualbox,vmware: use DownloadableURL 2013-07-29 00:13:30 -07:00
Mitchell Hashimoto
9f38f4cb47 fmt 2013-07-25 20:49:39 -05:00
Jeff Stamerjohn
c5aad085f3 Merge branch 'master' into jstamerj/windows 2013-07-25 09:31:02 -07:00
Jeff Stamerjohn
41df9fa2e8 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
9fb778c012 builder/common: common config struct for Packer configs 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
479855a4f1 builder/virtualbox: shutdown messages go to Ui 2013-07-23 22:42:39 -05:00
Mitchell Hashimoto
e51e9cd56e 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
9349c81631 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
f97148bc22 Update changelog 2013-07-20 16:37:48 -07:00
JD Harrington
6028a3c3de Add special keys for backspace, delete and F1-F12 2013-07-20 15:37:01 -04:00
Emil Sit
20d3946eae builder/v*: Include path to output dir in error 2013-07-20 00:36:59 -04:00
Emil Sit
bc4b2d079d 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
7d1f799ced builder/*: switch to MultiErrorAppend 2013-07-19 19:08:25 -04:00
Mitchell Hashimoto
d1ecd89635 builder/*: extract to common the config decoding 2013-07-19 15:00:32 -04:00
Mitchell Hashimoto
28a22a5fbe builder/*: convert to common StepProvision 2013-07-16 15:44:41 +09:00
Mitchell Hashimoto
60b8e1f2dc builder/virtualbox: use common SSH connect step 2013-07-15 14:17:09 +09:00
Mitchell Hashimoto
b1c7d93ee8 packer: Make builder type available in configs [GH-154] 2013-07-15 09:58:32 +09:00
Mitchell Hashimoto
033c90cfa3 builder/virtualbox: unexport calculated fields 2013-07-14 21:22:11 +09:00
Mitchell Hashimoto
559e0a7d6f communicator/ssh: tweakable timeout on retry connection 2013-07-14 21:05:22 +09:00
Mitchell Hashimoto
4d297315c4 communicator/ssh: have a Connection func so we can re-establish
[GH-152]
2013-07-14 20:22:57 +09:00