Mitchell Hashimoto
69f971094c
builder/vmware: style
2013-12-18 08:40:35 -08:00
Mitchell Hashimoto
2920239e6e
builder/virtualbox: verify output dir is writable
2013-12-18 08:40:35 -08:00
Chris Kozak
f5d6df6416
Updated DigitalOcean default image id
...
It looks like DigitalOcean replaced the "Ubuntu 12.04" image with "Ubuntu 12.04.3". We've updated the ImageID to point to the new image.
2013-12-17 17:41:47 +00:00
Mitchell Hashimoto
b95ad0c232
builder/amazon/all: launched instances have a name [GH-642]
2013-12-16 18:11:23 -08:00
Mitchell Hashimoto
a91b8f6853
builder/googlecompute: only load secrets/private key if given
2013-12-13 19:32:01 -08:00
Mitchell Hashimoto
bde4b02d2b
builder/googlecompute: artifact tests
2013-12-13 19:08:27 -08:00
Mitchell Hashimoto
637968f2dd
builder/googlecompute: artifact uses Driver, no more api
2013-12-13 19:07:10 -08:00
Mitchell Hashimoto
33a84c0938
builder/googlecompute: StepRegisterImage
2013-12-13 19:03:10 -08:00
Mitchell Hashimoto
587f057bf6
builder/googlecompute: StepUploadImage
2013-12-13 18:30:57 -08:00
Mitchell Hashimoto
20a074b4ee
builder/googlecompute: StepCreateImage
2013-12-13 18:26:00 -08:00
Mitchell Hashimoto
37903337ea
builder/googlecompute: update gsutil
2013-12-13 18:21:02 -08:00
Mitchell Hashimoto
a2cf4cae25
builder/googlecompute: enable provisioning
2013-12-13 18:08:43 -08:00
Mitchell Hashimoto
1055f470e6
builder/googlecompute: enable SSH
2013-12-13 18:07:16 -08:00
Mitchell Hashimoto
a72d31fb5b
builder/googlecompute: get instance info
2013-12-13 13:01:28 -08:00
Mitchell Hashimoto
57f707dfcc
builder/googlecompute: delete instance
2013-12-12 22:34:47 -08:00
Mitchell Hashimoto
f72f7a37d1
builder/googlecompute: fix all sorts of zone issues
2013-12-12 22:23:19 -08:00
Mitchell Hashimoto
b676058144
builder/googlecompute: better logging
2013-12-12 21:53:05 -08:00
Mitchell Hashimoto
54d59fc79f
builder/googlecompute: get rid of all client stuff for now
2013-12-12 21:53:05 -08:00
Mitchell Hashimoto
52f51a1dcd
builder/googlecompute: disable other steps for now
2013-12-12 21:53:05 -08:00
Mitchell Hashimoto
2bd6f1e2d7
builder/googlecompute: driver and create instance tests
2013-12-12 21:53:05 -08:00
Mitchell Hashimoto
3657f33a4d
builder/googlecompute: StepCreateSSHKey tests
2013-12-12 21:53:05 -08:00
Mitchell Hashimoto
2091dffe40
builder/googlecompute: cancel works
2013-12-12 21:53:04 -08:00
Mitchell Hashimoto
fbc07942f0
builder/googlecompute: test config basics
2013-12-12 21:53:04 -08:00
Mitchell Hashimoto
46d297c7bd
builder/googlecompute: client secrets tests
2013-12-12 21:53:04 -08:00
Mitchell Hashimoto
6507afd3ad
builder/googlecompute: private key tests
2013-12-12 21:53:04 -08:00
Mitchell Hashimoto
ee9ea170af
builder/googlecompute: move config out to seperate file
2013-12-12 21:53:04 -08:00
Mitchell Hashimoto
a78b10c06d
builder/googlecompute: set ID to packer namespace now thats in core
2013-12-12 21:53:04 -08:00
Kelsey Hightower
cc1130962b
Use the same license as Packer core
2013-12-12 21:53:04 -08:00
Kelsey Hightower
58c73727e5
builder/googlecompute: Add new googlecompute builder
2013-12-12 21:53:03 -08:00
Mitchell Hashimoto
1234e61cda
builder/amazon/all: get rid of unnecessary field
2013-12-12 21:38:48 -08:00
Mitchell Hashimoto
80c2f0fcd0
Merge pull request #690 from TranscendComputing/master
...
builder/qemu: added template processing for QemuArgs, floppy_files for auto-building f...
2013-12-12 14:46:08 -08:00
Mitchell Hashimoto
5e0da21173
builder/amazon/ebs: nicer output
2013-12-12 12:24:51 -08:00
Mitchell Hashimoto
4677f38882
builder/amazon: parallelize AMI region copies [GH-495]
2013-12-12 12:24:32 -08:00
Mitchell Hashimoto
6aef114372
go fmt
2013-12-11 11:19:36 -08:00
Mitchell Hashimoto
2789281285
builder/vmware: clarify guestiphack error message [GH-639]
2013-12-07 10:31:57 -08:00
Mitchell Hashimoto
8766a93245
builder/vmware: correct logic in cehcking if file is still there
2013-12-06 19:12:49 -08:00
Mitchell Hashimoto
6211cd2028
builder/vmware: more resilient to racing deletes [GH-675]
2013-12-06 19:11:40 -08:00
Mitchell Hashimoto
f7b1c2dbc6
builder/amazon/instance: add location to upload command [GH-679]
2013-12-06 19:04:40 -08:00
Mitchell Hashimoto
2110edb690
builder/amazon/chroot: remove unused import
2013-12-06 18:32:21 -08:00
Mitchell Hashimoto
2dad0cdca7
builder/amazon/chroot: block when obtaining lock [GH-689]
2013-12-06 18:28:48 -08:00
Mitchell Hashimoto
a770a5b2f2
Merge pull request #660 from CpuID/master
...
builder/amazon/ebs: AssociatePublicIpAddress for launching
2013-12-06 18:15:19 -08:00
Mitchell Hashimoto
5d420ce1c1
Revert "Merge pull request #663 from ktruong7/public-AMI"
...
This reverts commit b2fc77870b
, reversing
changes made to 4789d3acc8
.
This is already possible by setting groups.
2013-12-06 18:09:05 -08:00
Mitchell Hashimoto
09b53212bb
Merge pull request #663 from ktruong7/public-AMI
...
builder/amazon/all: added option to make AMI public
2013-12-06 18:05:45 -08:00
Mitchell Hashimoto
60c797b256
Merge pull request #637 from johnbellone/master
...
builder/openstack: add ProxyUrl parameter for OpenStack builder
2013-12-06 17:58:15 -08:00
Mitchell Hashimoto
e1042cbc2c
Merge pull request #681 from pcfens/qemu-img-formats
...
builder/qemu: qemu format img is invalid
2013-12-06 17:55:32 -08:00
Thomas D. Hite
08f5131746
Added template processing for QemuArgs, floppy_files for auto-building floppies which attach to the VM at startup, and run_once flag to trigger just one powerup/powerdown.
2013-12-06 18:20:25 -06:00
adrian kalaveshi
d0387d1d3a
Trivial bug fix in mechanism to clean installation ISOs for VMware builder
...
The resolution of Bug #608 still had issues. This change removes a
superfluous period.
Testing Done:
- built packer with my change
- built VMware VMs and saw that the vmx file had the expected
changes.
2013-12-05 21:36:34 +00:00
Phil Fenstermacher
c4ae11589d
Changed error message and docs to match code - qemu-img options are qcow2 and raw
2013-12-04 14:05:07 -05:00
ktruong7
2994129486
fixed format issue
2013-11-27 10:48:32 -05:00
ktruong7
961e58dfd0
fixed format issues
2013-11-27 10:47:06 -05:00
ktruong7
3589b0ba27
Added option to make ami public automatically
2013-11-26 09:59:16 -05:00
Nathan Sullivan
e711255d95
fix some debugging for PublicIpAddress
2013-11-26 15:03:45 +10:00
Nathan Sullivan
4809186c12
remove excess debugging
2013-11-26 15:02:43 +10:00
Nathan Sullivan
6270d759cd
revert whitespace changes - not necessary anymore
2013-11-26 15:01:57 +10:00
Nathan Sullivan
13f55bdec6
working AssociatePublicIpAddress support
2013-11-26 14:45:06 +10:00
Nathan Sullivan
5cbff00afa
goamz aspects of AssociatePublicIpAddress working now
2013-11-26 14:14:43 +10:00
Nathan Sullivan
49a131951a
reverting testing stuff
2013-11-26 13:46:32 +10:00
Nathan Sullivan
0cfb7564d5
lets try a string instead of a bool for AssociatePublicIpAddress
2013-11-26 13:44:39 +10:00
Nathan Sullivan
5df7bc0acf
oops bugfix for work on https://github.com/mitchellh/packer/issues/578
2013-11-26 12:05:37 +10:00
Nathan Sullivan
31bf1f342c
https://github.com/mitchellh/packer/issues/578
2013-11-26 11:32:08 +10:00
Mitchell Hashimoto
cc13e6690c
builder/amazon/chroot: don't choose partition mount point if taken
...
[GH-635]
2013-11-19 12:50:33 -08:00
Mitchell Hashimoto
d9c3aed479
builder/virtualbox: use VBOX_INSTALL_PATH to find VBoxManage
2013-11-19 12:32:10 -08:00
John Bellone
817b1bdb32
Add ProxyUrl parameter for OpenStack builder.
...
In my particular case I need to use a separate HTTP proxy to access my
OpenStack API than what is set in the environment. This commit adds an
optional parameter to the builder configuration and overrides the
net/http client that is used by the gophercloud library.
2013-11-19 13:55:55 -05:00
Mitchell Hashimoto
b787d6fb1d
builder/vmware: ESX artifacts have a different builder ID
...
This is so that things like vagrant post-processors and vsphere
post processors don't work.
2013-11-18 16:10:55 -08:00
Doug MacEachern
4af1c7f1b2
builder/vmware: Double check that OutputDirectory does not already exist
...
The initial check in Builder.Prepare does not use the OutputDir interface.
stepPrepareOutputDir also checks if OutputDir exists, error out there unless
using -force so we get the same behavior when RemoteType is esx5.
2013-11-12 13:11:02 -08:00
Doug MacEachern
3f5a02cf2a
builder/vmware: Add ListFiles and Remove methods to OutputDir interface
...
- Fixes builder/vmware when using RemoteType esx5,
as there is no longer a local OutputDir
2013-11-12 12:49:57 -08:00
Doug MacEachern
9655be5582
builder/vmware: Path related fixes in esx5 driver
...
- Fix mkdir of packer_cache in ESX5Driver.UploadISO
- Fix vmx path in ESX5Driver.IsRunning
2013-11-12 09:17:28 -08:00
Mitchell Hashimoto
21bb0674f2
builder/docker: ctrl-C works during provisioning
2013-11-12 16:24:16 +00:00
Mitchell Hashimoto
d88cb09d32
builder/vmware: ctrl-c works during wait for boot
2013-11-12 16:20:52 +00:00
Mitchell Hashimoto
c1bd7468d5
builder/virtualbox: ctrl-c works during wait for boot
2013-11-12 16:19:38 +00:00
Mitchell Hashimoto
832b4408a5
builder/docker: verify docker is available on path
2013-11-09 21:26:05 -08:00
Mitchell Hashimoto
c04d1cd57e
builder/docker: say when killing the container
2013-11-09 19:17:27 -08:00
Mitchell Hashimoto
d8b29cd63b
builder/docker: remove unused file
2013-11-09 19:11:07 -08:00
Mitchell Hashimoto
7bcfd83bdd
builder/docker: stream output from commands
2013-11-09 19:06:03 -08:00
Mitchell Hashimoto
2b89da50b3
builder/docker: UploadDir
2013-11-09 18:44:43 -08:00
Mitchell Hashimoto
ab5f719734
builder/docker: show stderr if docker fails to run
2013-11-09 17:27:30 -08:00
Mitchell Hashimoto
8ec68031d0
builder/docker: ability to disable pull
2013-11-09 17:21:24 -08:00
Mitchell Hashimoto
0287cdd614
builder/docker: config refactor
2013-11-09 17:07:14 -08:00
Mitchell Hashimoto
06b6cb1af1
builder/docker: artifact
2013-11-09 13:22:13 -08:00
Mitchell Hashimoto
a58754b974
builder/docker: StepExport tests
2013-11-09 13:15:51 -08:00
Mitchell Hashimoto
0e3011cbce
builder/docker: StepRun tests
2013-11-09 13:03:01 -08:00
Mitchell Hashimoto
62b81dc432
builder/docker: StepPull test, driver abstraction for tests
2013-11-09 12:12:23 -08:00
Mitchell Hashimoto
2da9233655
builder/docker: test StepTempDir
2013-11-09 11:58:20 -08:00
Mitchell Hashimoto
da683afde0
builder/docker: config validation test
2013-11-09 11:47:32 -08:00
Mitchell Hashimoto
23ad5442ec
builder/docker: perform cleanup in run method, not prematurely
2013-11-09 10:15:25 -08:00
Mitchell Hashimoto
44a41451f0
builder/docker: Communicator.Start doesn't block
2013-11-09 10:13:27 -08:00
Mitchell Hashimoto
d5ce8ddb4a
builder/docker: export the final image
2013-11-09 09:48:36 -08:00
Mitchell Hashimoto
d27ceaf509
builder/docker: remove the exit code file when we're done
2013-11-09 00:47:37 -08:00
Mitchell Hashimoto
2e7574e360
builder/docker: command output and exit codes work
...
/cc @mwhooker - CCing you on this because it is also ridiculous. See the
big comments
2013-11-09 00:33:36 -08:00
Mitchell Hashimoto
eabd32f3ce
builder/docker: comment the sleep on remote exec
2013-11-09 00:06:45 -08:00
Mitchell Hashimoto
c1f0fe3f3f
builder/docker: fix upload for copy to work
2013-11-09 00:05:44 -08:00
Mitchell Hashimoto
5f76ed68c4
builder/docker: Remote execution works!
...
/cc @mwhooker - WOW. By luck, I had a hunch that maybe something like
this might be going on based on straces I was reading. Check:
https://github.com/dotcloud/docker/issues/2628
Anyways, this works now. No more blocker!
2013-11-08 23:59:25 -08:00
Mitchell Hashimoto
797c44bfc1
builder/docker: a non-working communicator
2013-11-08 23:43:41 -08:00
Mitchell Hashimoto
2e080ece6d
builder/docker: start a container
2013-11-08 22:17:46 -08:00
Mitchell Hashimoto
4db609b24c
builder/docker: tests for some exec stuff
2013-11-08 22:02:47 -08:00
Mitchell Hashimoto
034e04cc1e
builder/docker: pull images
2013-11-08 22:00:57 -08:00
Mitchell Hashimoto
3feab1dea1
builder/docker: boilerplate
2013-11-08 16:55:02 -08:00
Mitchell Hashimoto
c8a6def83d
builder/vmware: downcase more vmx data
2013-11-08 14:21:31 -08:00
Mitchell Hashimoto
e4f1dcb6f9
builder/vmware: Fusion suppresses upgrade requests
2013-11-08 12:19:09 -08:00
Mitchell Hashimoto
781332b297
builder/vmware: fix local output dir exists check
2013-11-08 11:48:04 -08:00
Mitchell Hashimoto
3adbd09639
builder/amazon/chroot: fix compile error
2013-11-08 11:19:10 -08:00
Mitchell Hashimoto
3780b57a1f
builder/amazon/chroot: allow no such file errors on upload [GH-588]
2013-11-08 10:53:54 -08:00
Mitchell Hashimoto
17f1ee3e98
builder/amazon/chroot: quote commands and pass through a shell [GH-581]
2013-11-08 10:22:56 -08:00
Mitchell Hashimoto
52fb77a883
builder/vmware: case-insensitive VMX creation [GH-608]
2013-11-07 22:06:30 -08:00
Mitchell Hashimoto
47ac6897de
builder/vmware: start/stop ESXi5 VMX with proper path
2013-11-07 21:22:12 -08:00
Mitchell Hashimoto
ba8a0dbec0
builder/vmware: only unregister if registration success
2013-11-07 21:19:24 -08:00
Mitchell Hashimoto
e5ae542142
builder/vmware: register the VMX to the proper path on esx
2013-11-07 21:18:25 -08:00
Mitchell Hashimoto
2ccc5e80c7
builder/vmware: log when writing a VMX
2013-11-07 21:03:15 -08:00
Mitchell Hashimoto
b228723903
builder/vmware: for remote builds, put VMX in temp dir
2013-11-07 21:02:12 -08:00
Mitchell Hashimoto
a4b54f1cf3
builder/vmware: set proper default disk type for esx
2013-11-07 20:57:05 -08:00
Mitchell Hashimoto
148d7c06ab
builder/vmware: make upload dst,src like normal go
2013-11-07 20:47:15 -08:00
Mitchell Hashimoto
2c8843b4de
builder/vmware: esx file check works properly
2013-11-07 20:46:34 -08:00
Mitchell Hashimoto
8a8ac430d1
builder/vmware: upload the ISO to the ESXi machine
2013-11-07 12:28:41 -08:00
Mitchell Hashimoto
483cda18c1
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
a828a9a064
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
636e647c45
builder/qemu: set proper HTTPIP for boot command [GH-597]
2013-11-05 22:05:56 -08:00
Mitchell Hashimoto
5ededd527a
builder/qemu: catch early exits of qemu
2013-11-05 22:03:43 -08:00
Mitchell Hashimoto
170e2459ff
builder/qemu: remove constructor, more Go-like
2013-11-05 21:43:20 -08:00
Mitchell Hashimoto
3bc0c4aa25
builder/qemu: simplify driver, make things more Go-like
2013-11-05 21:40:49 -08:00
Mitchell Hashimoto
d78787e182
builder/qemu: remove floppy support, not used currently
2013-11-05 18:11:38 -08:00
Mitchell Hashimoto
07e5a85bab
builder/qemu: log VM output
2013-11-05 17:59:09 -08:00
Mitchell Hashimoto
b75a2935f3
builder/qemu: unnecssary log
2013-11-05 17:48:52 -08:00
Mitchell Hashimoto
385a338354
builder/qemu: get rid of unnecessary step
2013-11-05 17:48:16 -08:00
Mitchell Hashimoto
e982eb38dc
builder/qemu: alphabetize some things
2013-11-05 17:47:22 -08:00
Mitchell Hashimoto
e44aea496d
builder/qemu: passing tests
2013-11-05 15:44:38 -08:00
Mitchell Hashimoto
ac1012c108
Merge pull request #385 from TranscendComputing/master
...
builder/qemu: Qemu builder
2013-11-05 15:28:23 -08:00
Mitchell Hashimoto
c8e911cdc3
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
c6392481f9
fixed artifact test
2013-11-05 14:27:42 -08:00
Ross Smith II
2cad46aa1f
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
255f27a24e
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
7aab3381f1
builder/vmware: check for ifconfig in /sbin [GH-591]
2013-11-04 14:34:51 -08:00
Mitchell Hashimoto
cf0ac15ecc
builder/vmware: force LANG=C for ifconfig [GH-592]
2013-11-04 14:26:18 -08:00
Mitchell Hashimoto
6c19ba621f
builder/virtualbox: no panic if ssh host port min/max is same [GH-594]
2013-11-04 14:20:26 -08:00
Jack Pearkes
b13c25532c
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
9acaa97a32
builder/virtualbox,vmware: warning if shutdown_command is not specified
2013-11-02 23:17:21 -05:00
Mitchell Hashimoto
a6150e6596
builder/all: update to warnings
2013-11-02 23:03:59 -05:00
Mitchell Hashimoto
3cd7379d1f
builder/amazon/*: warnings
2013-11-02 22:56:54 -05:00
Mitchell Hashimoto
aa95caa261
builder/virtualbox: allow disabling guest addition uploading
2013-11-02 11:34:54 +01:00
Mitchell Hashimoto
7f639d89b6
builder/amazon/*,builder/openstack: properly scrub sensitive [GH-554]
2013-11-02 11:34:54 +01:00
Matthew Hooker
6620b9cc9b
Merge pull request #572 from ktruong7/format-issues1
...
Spelling mistake in comments
2013-10-28 06:52:57 -07:00
ktruong7
1f31ac1737
spelling mistake in comments
2013-10-24 14:46:54 -04:00
Mitchell Hashimoto
f4b404627c
builder/amazon/instance: support AZ here too
2013-10-23 20:44:38 -07:00
Mitchell Hashimoto
b95a56899f
builder/amazon: rename availzone to availability zone
2013-10-23 20:44:11 -07:00
Mitchell Hashimoto
7fa797d878
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
5e440fa4c1
Arguments Prefix (--) was missing for (data)portconfig
2013-10-23 15:05:00 +02:00
Matthew Hooker
1aa551a49c
builder/amazon/common: Add AvailZone to StepRunSourceInstance struct
...
[GH-536]
2013-10-21 08:08:00 -07:00
Matthew Hooker
60428cef60
builder/amazon/ebs: Add config for target AZ.
...
Fixes [GH-536]
2013-10-21 08:01:34 -07:00
Mitchell Hashimoto
5e3c8c4fe6
builder/virtualbox,vmware: support user templates in SSH key path
...
[GH-539]
2013-10-20 15:58:39 -07:00
Mitchell Hashimoto
30be4927d6
builder/virtualbox: use proper SATA port arg [GH-547]
2013-10-20 15:55:31 -07:00
Tom Hite
9ebd44a98a
Merge branch 'master' of http://github.com/mitchellh/packer
2013-10-17 23:32:18 -05:00