110 Commits

Author SHA1 Message Date
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
0211c033f4 fmt 2013-07-12 07:01:30 +09:00
Mitchell Hashimoto
d9c77c66f4 builder/vmware: error if shutdown command failed 2013-07-09 14:39:02 -07:00
Mitchell Hashimoto
cae89a49a1 builder/vmware: support floppy_files for mounting a floppy disk 2013-07-09 12:41:36 -07:00
Mitchell Hashimoto
259986e7e5 builder/virtualbox, builder/vmware: keyboard-interactive [GH-121] 2013-07-02 22:02:58 -07:00
Steven Merrill
9264f76053 Add a 'skip_compaction' step. 2013-07-02 20:22:11 -04:00
Mitchell Hashimoto
b4b9469d3c builder/vmware: output VNC info if headless
/cc @smerrill
2013-07-02 12:23:19 -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
Mitchell Hashimoto
4bb5f8a6aa Merge pull request #115 from bdon/wait
builder/virtualbox, builder/vmware: wait5 and wait10 timers
2013-07-02 12:14:17 -07:00
Brandon Liu
cf13f57528 Add wait5 and wait10 special keys for boot command. 2013-07-02 10:31:22 -07:00
Mitchell Hashimoto
4d4dd85ef4 builder/vmware: Improve check for VMware cleanup 2013-07-02 09:30:24 -07:00
Mitchell Hashimoto
be40fb7abb builder/vmware: No redundant errors 2013-07-02 09:10:44 -07:00
Mitchell Hashimoto
00a5ca32ae builder/vmware: Style nitpick
/cc @smerrill: I prefer to do state changes at the end. :)
2013-07-02 09:09:55 -07:00
Mitchell Hashimoto
93e5082d04 Merge pull request #107 from smerrill/compact-disk
builder/vmware: Compact disk at end of the run
2013-07-02 09:09:15 -07:00
Mitchell Hashimoto
f36972f52a builder/vmware: wait for shutdown to avoid corrupt disk files [GH-111] 2013-07-02 09:05:17 -07:00
Steven Merrill
432cab3fcf Small fix to be sure "full_disk_path" is put into state. 2013-07-02 01:32:50 -04:00
Steven Merrill
586a9a7c32 Small doc fixes. 2013-07-02 01:15:03 -04:00
Steven Merrill
359ba01c6a Integrate code review comments. 2013-07-02 01:12:57 -04:00
Steven Merrill
4aa55c40de Add VMWare headless mode. 2013-07-02 00:13:13 -04:00
Steven Merrill
29fa621907 Finish initial compaction feature. 2013-07-01 22:45:46 -04:00
Steven Merrill
d4cd9352d6 First try at a compaction step. 2013-07-01 22:25:33 -04:00
Steven Merrill
4de76ccd3f Add a computed FullDiskPath config option. 2013-07-01 22:22:00 -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
d306fe742c builder/vmware: tools_upload_flavor and path
/cc @smerrill
2013-07-01 10:45:50 -07:00
Mitchell Hashimoto
e9f7f94599 fmt 2013-07-01 09:39:34 -07:00
Steven Merrill
8f72a06ef6 Incorporate code review feedback. 2013-06-30 11:10:26 -04:00
Steven Merrill
eb905d30e3 Add a method to get the VMware Tools ISO path. 2013-06-29 23:20:38 -04:00
Steven Merrill
3cda96f9a6 Upload the linux.iso to /tmp/linux.iso. 2013-06-29 23:08:27 -04:00
Mitchell Hashimoto
86df78a7be builder/vmware: delete unnecessary files from artifact 2013-06-29 13:28:08 -07:00
Mitchell Hashimoto
958502bbdc builder/vmware: populate files properly in artifact [GH-63] 2013-06-29 13:00:34 -07:00
Mitchell Hashimoto
e4ad595c90 builder/vmware: default boot_wait 2013-06-28 22:40:55 -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
358e71d98e builder/vmware: properly test file URLs 2013-06-28 09:43:49 -04:00
Mitchell Hashimoto
9a318ceddc builder/virtualbox, vmware: delete output dir if cancelled 2013-06-27 22:23:40 -04:00
Mitchell Hashimoto
213cfb3dad builder/vmware: error if output directory exists 2013-06-27 22:15:24 -04:00
Mitchell Hashimoto
2e0a051539 builder/*: Fail if provisioning fails [GH-33] 2013-06-26 17:54:57 -07:00
Mitchell Hashimoto
2ac81bfc4d fmt 2013-06-23 20:43:50 -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
4d41d90c97 builder/vmware: Try SSH handshake multiple times 2013-06-23 18:17:38 -07:00
Mitchell Hashimoto
e082abea28 builder/vmware: support the <tab> special in boot commands 2013-06-23 16:09:12 -07:00
Mitchell Hashimoto
456aec3390 builder/vmware: configurable disk size (default 40 GB) 2013-06-23 15:07:19 -07:00
Mitchell Hashimoto
62406b5ab5 builder/vmware: Ability to specify the SSH port with "ssh_port" 2013-06-23 14:30:52 -07:00
Mitchell Hashimoto
95da55c0fa builder/vmware: Log the output of various commands 2013-06-20 12:33:01 -07:00
Mitchell Hashimoto
8b9263d38f builder/vmware: properly handle errors 2013-06-19 21:20:48 -07:00
Mitchell Hashimoto
0f354c79d1 packer: Add Destroy method to artifact
[GH-18]
2013-06-18 16:01:14 -07:00
Mitchell Hashimoto
21b6d2a435 builder/common: multistep debug fn gracefully exits during an interrupt 2013-06-14 15:47:06 -07:00