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
Mitchell Hashimoto
5a529ee41a
builder/virtualbox: support generic hash types [GH-175]
2013-07-14 15:50:34 +09:00
Mitchell Hashimoto
a354f5fc08
Unused keys are invalid in templates [GH-104]
2013-07-14 09:28:56 +09:00
Mitchell Hashimoto
39b3fe794b
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
442c5e3e3b
Remove output directory in a step when "-force" flag step [GH-178]
2013-07-12 21:23:00 -05:00
Mitchell Hashimoto
7c2f50d4dc
fmt
2013-07-13 10:01:27 +09:00
Jason A. Beranek
71a1bd7354
Add support for -force flag on builds [GH-119]
2013-07-11 23:43:23 -05:00
Mitchell Hashimoto
86ec808fe0
builder/virtualbox: paused is still running
2013-07-09 12:41:36 -07:00
Mitchell Hashimoto
e60945ed7b
builder/virtualbox: remove floppy drive before exporting
2013-07-09 12:41:36 -07:00
Mitchell Hashimoto
efc9e9db6e
builder/virtualbox: support floppy_files
2013-07-09 12:41:36 -07:00
Mitchell Hashimoto
27bada1ba9
builder/virtualbox: whitespace
2013-07-07 18:04:30 -07:00
Mitchell Hashimoto
cd6e154bd1
builder/virtualbox: style nitpicks and CHANGELOG
2013-07-07 09:17:27 -07:00
Mitchell Hashimoto
4ecb92358b
fmt
2013-07-07 09:14:41 -07:00
Mitchell Hashimoto
c1ad88aaa6
builder/virtualbox: test the configuration
...
/cc @sgirones
2013-07-07 09:14:16 -07:00
Mitchell Hashimoto
ee9aa9b071
builder/virtualbox: typo in test
2013-07-07 09:09:22 -07:00
Mitchell Hashimoto
8d5c2091d4
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
d5731a13d4
Local mode for VBoxGuestAdditions. Provide local path and SHA256
2013-07-06 11:28:56 +02:00
Mitchell Hashimoto
8b25acfab6
fmt
2013-07-05 11:00:18 -07:00
Brandon Liu
cf191350cd
Virtualbox: clean up port forwarding before exporting OVF.
2013-07-04 14:46:39 -07:00
Geoffrey Bachelet
94c0fac5ad
Typo
2013-07-03 19:11:37 -04:00
Mitchell Hashimoto
259986e7e5
builder/virtualbox, builder/vmware: keyboard-interactive [GH-121]
2013-07-02 22:02:58 -07:00
Mitchell Hashimoto
925734d06b
builder/virtualbox: Warning about headless mode
...
/cc @smerrill
2013-07-02 12:20:26 -07:00
Mitchell Hashimoto
b729ba0e00
Merge pull request #108 from smerrill/headless-mode
...
builder/vmware, builder/virtualbox: Headless mode
2013-07-02 12:16:40 -07:00
Brandon Liu
cf13f57528
Add wait5 and wait10 special keys for boot command.
2013-07-02 10:31:22 -07:00
Steven Merrill
f27ea933a4
Add VirtualBox headless mode.
2013-07-02 00:13:24 -04:00
Mitchell Hashimoto
da225c0d06
builder/virtualbox, builder/vmware: output and VM name based on build
...
[GH-91]
2013-07-01 11:11:51 -07:00
Mitchell Hashimoto
7f17c58335
builder/virtualbox: trim whitespace when getting version
2013-07-01 10:59:04 -07:00
Mitchell Hashimoto
5ad40dd184
builder/virtualbox: add more logging to version detection
2013-06-29 13:45:30 -07:00
Mitchell Hashimoto
0691bf7657
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
0c20949ed9
builder/virtualbox,vmware: work if port range for HTTP is 0 [GH-53]
2013-06-28 22:00:01 -04:00
Mitchell Hashimoto
5786f6ad5a
builder/virtualbox: Tests for the defaults [GH-44]
2013-06-28 16:01:50 -04:00
Mitchell Hashimoto
e920c49e8f
builder/virtualbox: Set the default boot_wait [GH-44]
2013-06-28 16:01:50 -04:00
Mitchell Hashimoto
66fac2e82f
builder/virtualbox: close the input source ISO
2013-06-28 10:30:33 -04:00
Mitchell Hashimoto
39aea8c5ee
builder/virtualbox: check the proper file path
2013-06-28 09:45:30 -04:00
Mitchell Hashimoto
13bff7e353
builder/virtualbox: return if cancelled, to avoid nil deref
2013-06-27 22:24:53 -04:00
Mitchell Hashimoto
9a318ceddc
builder/virtualbox, vmware: delete output dir if cancelled
2013-06-27 22:23:40 -04:00
Mitchell Hashimoto
73a2e52a75
builder/virtualbox: Error if output directory already exists
2013-06-27 22:14:23 -04:00
Mitchell Hashimoto
2e0a051539
builder/*: Fail if provisioning fails [GH-33]
2013-06-26 17:54:57 -07:00
Mitchell Hashimoto
32e319920c
fmt
2013-06-25 14:31:06 -05:00
Mitchell Hashimoto
d7ec646506
builder/virtualbox: "stopping" is still running [GH-30]
2013-06-24 09:32:08 -07:00
Mitchell Hashimoto
7c2475e886
builder/virtualbox: remap versions that don't have guest additions
2013-06-24 09:24:16 -07:00
Mitchell Hashimoto
777c869c61
builder/virtualbox: checksum the guest additions
2013-06-23 23:44:03 -07:00
Mitchell Hashimoto
3259bd7e23
builder/virtualbox: treat guest_additions_path as a template
2013-06-23 23:14:19 -07:00
Mitchell Hashimoto
9e8b1b424b
builder/virtualbox: upload guest additions to VM
2013-06-23 23:09:52 -07:00
Mitchell Hashimoto
4fb31f1cab
builder/virtualbox: Download guest additions for the VM
2013-06-23 23:05:32 -07:00
Mitchell Hashimoto
c51a233970
website: update docs for virtualbox_version_file
2013-06-23 22:46:57 -07:00
Mitchell Hashimoto
fc5c63d697
builder/virtualbox: Upload version to a "virtualbox_version_file"
2013-06-23 22:44:58 -07:00
Mitchell Hashimoto
d4cdccb51b
builder/virtualbox: only power off the machine if it isrunning
2013-06-23 22:00:40 -07:00
Mitchell Hashimoto
f6113de170
builder/virtualbox: Message for vboxmanage command, not say
2013-06-23 21:56:14 -07:00
Mitchell Hashimoto
f68639c5fa
builder/virtualbox: recognize <tab>
2013-06-23 21:50:16 -07:00
Mitchell Hashimoto
688be43811
builder/virtualbox: Copy ISO because VirtualBox can't recognize
2013-06-23 21:47:56 -07:00
Mitchell Hashimoto
1e6fd243b1
builder/virtualbox: Output VBoxManage stderr in error
2013-06-23 21:19:41 -07:00
Mitchell Hashimoto
436d796689
builder/virtualbox: add "vboxmanage" to run custom commands
2013-06-23 20:58:22 -07:00
Mitchell Hashimoto
fb139b2925
builder/virtualbox: Ability to set DiskSize
2013-06-23 20:43:40 -07:00
Mitchell Hashimoto
cf2fb01edb
builder/vmware, builder/virtualbox: Don't continue if ISO error
2013-06-23 18:23:00 -07:00
Mitchell Hashimoto
d1c69048ed
fmt
2013-06-19 21:20:54 -07:00
Mitchell Hashimoto
848985b200
builder/virtualbox: proper artifact [GH-23]
2013-06-19 21:12:11 -07:00
Mitchell Hashimoto
0028563253
builder/virtualbox: properly handle errors
2013-06-19 21:07:53 -07:00
Mitchell Hashimoto
f754c171e8
builder/*: Add support for debug
2013-06-15 10:51:09 -07:00
Mitchell Hashimoto
a6194467ac
builder/*: Adhere to the new interface
2013-06-14 12:29:48 -07:00
Mitchell Hashimoto
4daefc2588
fmt
2013-06-13 10:24:10 -07:00
Mitchell Hashimoto
760995dba1
builder/virtualbox: say when forcefully shutting down
2013-06-12 18:19:29 -07:00
Mitchell Hashimoto
6516e5a627
builder/virtualbox: export
2013-06-12 18:07:08 -07:00
Mitchell Hashimoto
48a3892ce6
builder/virtualbox: graceful shutdown
2013-06-12 18:02:42 -07:00
Mitchell Hashimoto
52391bb1f3
builder/virtualbox: Use the common downloader
2013-06-12 17:42:18 -07:00
Mitchell Hashimoto
521b59a6fa
Make everything support the new builder interface
2013-06-12 16:06:56 -07:00
Mitchell Hashimoto
e101b031fc
builder/virtualbox: Cancel mid-type if we can
2013-06-12 10:47:55 -07:00
Mitchell Hashimoto
574286bdd6
builder/virtualbox: provision step
2013-06-12 08:47:36 -07:00
Mitchell Hashimoto
c58d5ab3af
builder/virtualbox: time out on SSH handshake for retry
2013-06-12 00:54:25 -07:00
Mitchell Hashimoto
5c0d8ecd72
builder/virtualbox: Wait for SSH to become available
2013-06-12 00:41:58 -07:00
Mitchell Hashimoto
e7cc350536
builder/virtualbox: scancode reference
2013-06-12 00:27:31 -07:00
Mitchell Hashimoto
7344d9e52c
builder/virtualbox: type boot command
2013-06-12 00:26:08 -07:00
Mitchell Hashimoto
c7071b3bd2
builder/virtualbox: http server for local files
2013-06-11 23:44:40 -07:00
Mitchell Hashimoto
e7aa9b409c
builder/virtualbox: add boot_command
2013-06-11 21:08:45 -07:00
Mitchell Hashimoto
9e4a5a227b
builder/virtualbox: support boot_wait
2013-06-11 20:56:44 -07:00
Mitchell Hashimoto
4d351edadf
builder/virtualbox: improved validation
2013-06-11 20:51:58 -07:00
Mitchell Hashimoto
24895069aa
builder/virtualbox: start the VM
2013-06-11 20:46:32 -07:00
Mitchell Hashimoto
70df8c8c8b
builder/virtualbox: add the ssh host port to state
2013-06-11 20:30:07 -07:00
Mitchell Hashimoto
ad1c59f34e
builder/virtualbox: Create forwarded port mapping
2013-06-11 20:29:39 -07:00
Mitchell Hashimoto
081b0d6853
builder/virtualbox: Attach ISO
2013-06-11 20:07:11 -07:00
Mitchell Hashimoto
54057b7b49
builder/virtualbox: download ISO
2013-06-11 20:00:30 -07:00
Mitchell Hashimoto
c1c9204ee8
builder/virtualbox: actually attach the hard drive
2013-06-11 16:48:01 -07:00
Mitchell Hashimoto
7a9499e1f0
builder/virtualbox: Attach the hard drive, not quite working yet
2013-06-11 16:44:43 -07:00
Mitchell Hashimoto
b9cd48bbc6
builder/virtualbox: Create a virtual disk
2013-06-11 16:34:44 -07:00
Mitchell Hashimoto
7fe40cfce1
builder/virtualbox: Create the VM
2013-06-11 16:12:19 -07:00
Mitchell Hashimoto
07cacb6dda
builder/virtualbox: Add GuestOSType config
2013-06-11 15:57:20 -07:00
Mitchell Hashimoto
4c18b0ae5b
builder/virtualbox: more comprehensive message suppression
2013-06-11 15:52:46 -07:00
Mitchell Hashimoto
e14b00c818
builder/virtualbox: Look for virtualbox on the path
2013-06-11 15:47:10 -07:00
Mitchell Hashimoto
d31d54366a
builder/virtualbox: Suppress some messages
2013-06-11 15:45:52 -07:00
Mitchell Hashimoto
99af93f86a
foundation for virtualbox builder
2013-06-11 15:12:45 -07:00