Mark Rushakoff
d6bd6fc0ae
StepDownload uses packer version as user agent
2014-01-09 13:20:30 -08:00
Mark Rushakoff
b742823394
HTTPDownloader uses UserAgent from DownloadConfig
2014-01-09 08:41:34 -08:00
Mitchell Hashimoto
945b5a6312
update commands to new user var syntax
2013-12-27 09:21:17 -07:00
Mitchell Hashimoto
9971a18208
common: process user variables in non-string config decodes [GH-598]
2013-12-16 17:57:07 -08:00
Mitchell Hashimoto
a21b3cee23
common: fix tests
2013-12-06 18:36:16 -08:00
Mitchell Hashimoto
1e2ce0e3e3
common: allow files that don't exist to be URLs [GH-683]
2013-12-06 18:31:56 -08:00
Mitchell Hashimoto
9e333e03db
builder/docker: ctrl-C works during provisioning
2013-11-12 16:24:16 +00: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
4856300f62
common: downloads can be HTTPS [GH-587]
2013-11-02 22:10:48 -05:00
Jonas Pfenniger
19b1bdee98
Simplifies the implementation of common/uuid
2013-10-23 23:05:02 +01:00
Jonas Pfenniger
d094cb7c5c
Fixes missing entropy in the uuid package.
...
math/crypto is seeded with 1 and thus will create predictable UUIDs. Because
amazon-instance and amazon-ebs in the same second when building both targets
the timestamp in front doesn't help either. See #552
2013-10-23 10:58:48 +01:00
Mitchell Hashimoto
cfcdeadf53
common/uuid: add test, albeit weak
2013-10-16 21:19: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
Matthew Hooker
739fbc8962
common/config: config filter function [GH-521]
...
Fixes #521
2013-10-13 11:01:12 -07:00
Patrick Lucas
9ca3c82228
An SSH timeout should be treated as an error
2013-10-02 14:55:28 -07:00
Mitchell Hashimoto
cfe3eee547
common: Allow user variables to be used for ints/bools/etc. [GH-418]
2013-09-18 16:18:39 -07:00
Mitchell Hashimoto
98f3bc57a0
common: Use new multistep API
2013-08-31 12:17:59 -07:00
Mitchell Hashimoto
6e098d1aaf
packer: implement Cancel in ProvisionHook
2013-08-30 23:39:29 -07:00
Mitchell Hashimoto
66f7f5aad5
common: detect ctrl-c in Provision
2013-08-30 23:28:31 -07:00
Mitchell Hashimoto
4540285b15
common: support SHA512 as checksum type [Gh-356]
2013-08-28 09:09:43 -07:00
Mitchell Hashimoto
20541a7eda
builder/vmware: ability to not request a PTY for SSH [GH-270]
2013-08-27 16:51:05 -07:00
Mitchell Hashimoto
3375c9e4fd
communicator/ssh: respect interrupts by not looping on retyr [GH-327]
2013-08-22 11:53:31 -07:00
Mitchell Hashimoto
58a48ed171
common/command: error if only/except points to bad build
2013-08-22 11:40:30 -07:00
Mitchell Hashimoto
2cf112c0ba
common/command: more tests for filtering builds
2013-08-22 11:34:51 -07:00
Mitchell Hashimoto
cc0f91b41b
packer: add mock implementations and more template tests
2013-08-22 11:32:59 -07:00
Mitchell Hashimoto
9bf7d7b81b
common: use HTTP proxy if available from env [GH-252]
2013-08-18 12:34:36 -06:00
Mitchell Hashimoto
154adee43c
common: detect drive letter with windows file URLs [GH-284]
2013-08-15 20:16:05 -07:00
Mitchell Hashimoto
f19dcf15e1
common: Remove Template, in packer now
2013-08-15 19:11:42 -07:00
Mitchell Hashimoto
4188e07fc2
builder/virtualbox: switch download guest additions to use new common
2013-08-15 17:46:40 -07:00