698 Commits

Author SHA1 Message Date
Mitchell Hashimoto
5f380a614f builder/vmware: register the VMX to the proper path on esx 2013-11-07 21:18:25 -08:00
Mitchell Hashimoto
4fd6b3222f builder/vmware: log when writing a VMX 2013-11-07 21:03:15 -08:00
Mitchell Hashimoto
d1134ea788 builder/vmware: for remote builds, put VMX in temp dir 2013-11-07 21:02:12 -08:00
Mitchell Hashimoto
8dba90e4ad builder/vmware: set proper default disk type for esx 2013-11-07 20:57:05 -08:00
Mitchell Hashimoto
13a420fe50 builder/vmware: make upload dst,src like normal go 2013-11-07 20:47:15 -08:00
Mitchell Hashimoto
a665e01ba8 builder/vmware: esx file check works properly 2013-11-07 20:46:34 -08:00
Mitchell Hashimoto
aba932b58b builder/vmware: upload the ISO to the ESXi machine 2013-11-07 12:28:41 -08:00
Mitchell Hashimoto
4d299ee41d builder/vmware: make things more Go-like
This commit currently breaks the builder though, since the ISo is now
uploaded back into ESX.
2013-11-07 12:01:18 -08:00
Doug MacEachern
e7542ff33d builder/vmware: new driver to support building images directly on ESX
This driver talks directly to ESX over ssh, using vim-cmd, esxcli and sh;
no vCenter or VIM api required.

Remote* config properties added to support a remote driver

RemoteDriver interface extends Driver:
* SSHAddress - esx flavor uses esxcli to find the VM's ip address
* Download - esx flavor downloads iso files to a vmfs datastore

Driver can optionally implement the following interfaces:
* VNCAddressFinder - esx flavor needs to check remote ports
* OutputDir - esx driver needs a local and remote OutputDir
* Inventory - esx driver needs to register/unregister VMs
* HostIPFinder - esx flavor needs an address on the same network as esx itself
2013-11-07 12:01:18 -08:00
Mitchell Hashimoto
2e0ff556f2 builder/qemu: set proper HTTPIP for boot command [GH-597] 2013-11-05 22:05:56 -08:00
Mitchell Hashimoto
34c411eb12 builder/qemu: catch early exits of qemu 2013-11-05 22:03:43 -08:00
Mitchell Hashimoto
da120d3c07 builder/qemu: remove constructor, more Go-like 2013-11-05 21:43:20 -08:00
Mitchell Hashimoto
ac9b643e81 builder/qemu: simplify driver, make things more Go-like 2013-11-05 21:40:49 -08:00
Mitchell Hashimoto
144a9d2ac7 builder/qemu: remove floppy support, not used currently 2013-11-05 18:11:38 -08:00
Mitchell Hashimoto
7370acf9e8 builder/qemu: log VM output 2013-11-05 17:59:09 -08:00
Mitchell Hashimoto
3e58ca4c98 builder/qemu: unnecssary log 2013-11-05 17:48:52 -08:00
Mitchell Hashimoto
1d70002719 builder/qemu: get rid of unnecessary step 2013-11-05 17:48:16 -08:00
Mitchell Hashimoto
1de263d3d8 builder/qemu: alphabetize some things 2013-11-05 17:47:22 -08:00
Mitchell Hashimoto
3683d7cd23 builder/qemu: passing tests 2013-11-05 15:44:38 -08:00
Mitchell Hashimoto
701f31ca4d Merge pull request #385 from TranscendComputing/master
builder/qemu: Qemu builder
2013-11-05 15:28:23 -08:00
Mitchell Hashimoto
8bbf9a8da8 Merge branch 'security-groups' of https://github.com/whiteley/packer into whiteley-security-groups
Conflicts:
	builder/amazon/common/run_config.go
2013-11-05 14:34:12 -08:00
Ross Smith II
bf79008abf fixed artifact test 2013-11-05 14:27:42 -08:00
Ross Smith II
a479482d67 post-processor/vagrant: Adds vagrant support for digitalocean
Conflicts:
	post-processor/vagrant/post-processor.go
2013-11-05 14:27:28 -08:00
Mitchell Hashimoto
fe0b1aa75b Merge pull request #589 from mitchellh/f-do-droplet-name
builder/digitalocean: add a droplet_name configuration value
2013-11-04 14:35:44 -08:00
Mitchell Hashimoto
d740015ef4 builder/vmware: check for ifconfig in /sbin [GH-591] 2013-11-04 14:34:51 -08:00
Mitchell Hashimoto
dd6b5f0d85 builder/vmware: force LANG=C for ifconfig [GH-592] 2013-11-04 14:26:18 -08:00
Mitchell Hashimoto
8f50d2dd9a builder/virtualbox: no panic if ssh host port min/max is same [GH-594] 2013-11-04 14:20:26 -08:00
Jack Pearkes
4f6f9e1639 builder/digitalocean: add a droplet_name configuration value
Practically, this lets you set the hostname of the droplet
used for provisioning.
2013-11-03 17:35:58 +01:00
Mitchell Hashimoto
f40a6e21aa builder/virtualbox,vmware: warning if shutdown_command is not specified 2013-11-02 23:17:21 -05:00
Mitchell Hashimoto
f9747ad110 builder/all: update to warnings 2013-11-02 23:03:59 -05:00
Mitchell Hashimoto
2d221c5947 builder/amazon/*: warnings 2013-11-02 22:56:54 -05:00
Mitchell Hashimoto
6dea765ba4 builder/virtualbox: allow disabling guest addition uploading 2013-11-02 11:34:54 +01:00
Mitchell Hashimoto
2964f27cc5 builder/amazon/*,builder/openstack: properly scrub sensitive [GH-554] 2013-11-02 11:34:54 +01:00
Matthew Hooker
7fbd3f1ad4 Merge pull request #572 from ktruong7/format-issues1
Spelling mistake in comments
2013-10-28 06:52:57 -07:00
ktruong7
bdd4294a41 spelling mistake in comments 2013-10-24 14:46:54 -04:00
Mitchell Hashimoto
d9aaf49234 builder/amazon/instance: support AZ here too 2013-10-23 20:44:38 -07:00
Mitchell Hashimoto
8b7e258829 builder/amazon: rename availzone to availability zone 2013-10-23 20:44:11 -07:00
Mitchell Hashimoto
60bb158bf1 Merge pull request #550 from mitchellh/fix#536
builder/amazon/ebs: Add config for target AZ.
2013-10-23 20:42:15 -07:00
Fabian Grutschus
5bc3150bb5 Arguments Prefix (--) was missing for (data)portconfig 2013-10-23 15:05:00 +02:00
Matthew Hooker
831621ea8b builder/amazon/common: Add AvailZone to StepRunSourceInstance struct
[GH-536]
2013-10-21 08:08:00 -07:00
Matthew Hooker
73a638749a builder/amazon/ebs: Add config for target AZ.
Fixes [GH-536]
2013-10-21 08:01:34 -07:00
Mitchell Hashimoto
65169b4576 builder/virtualbox,vmware: support user templates in SSH key path
[GH-539]
2013-10-20 15:58:39 -07:00
Mitchell Hashimoto
a54e5e70da builder/virtualbox: use proper SATA port arg [GH-547] 2013-10-20 15:55:31 -07:00
Tom Hite
2ac0f633ea Merge branch 'master' of http://github.com/mitchellh/packer 2013-10-17 23:32:18 -05:00
Matthew Hooker
fa3e70ef75 builder/amazon/chroot:
Delete files at destination before copy. This should help with the dangling
symbolic link issue we've been seeing with ubuntu.

fixes GH-500
2013-10-17 22:50:02 +00:00
Mitchell Hashimoto
3fad717ba4 builder/amazon,builder/openstack: remove more cgl libs 2013-10-16 16:29:53 -10:00
Mitchell Hashimoto
697c91b0b0 Remove dependency on identifier package, use time ordered UUID [GH-541] 2013-10-16 16:21:14 -10:00
Mitchell Hashimoto
e7414f334b Merge pull request #512 from hoshposh/vbox-shutdown-issue
builder/virtualbox: sleep after shutdown before export to avoid session locks
2013-10-14 01:50:55 -07:00
Mitchell Hashimoto
54e1f70a3c Merge pull request #522 from patricklucas/fix_instance_not_found_race
builder/amzon: fix race condition after launching EC2 instance
2013-10-14 01:45:55 -07:00
Matthew Hooker
7ae1042696 common/config: strip keys appropriate for OpenStack. 2013-10-13 11:03:45 -07:00