3155 Commits

Author SHA1 Message Date
Andrew Pryde
8c81bb5dac Fix BMCS builder step error reporting style
See: https://github.com/hashicorp/packer/pull/4554#discussion_r130214247
2017-08-02 12:44:44 +01:00
Andrew Pryde
fc17f69bad Set default BMCS builder image name
Set the default image name to "packer-{{timestamp}}".
2017-08-02 12:43:53 +01:00
Andrew Pryde
630ee5d650 Change imports mitchelh/packer -> hashicorp/packer 2017-08-02 09:53:48 +01:00
Andrew Pryde
3c4ec2dc3e Allow override signing key pass in oracle-bmcs
Adds pass_phrase property to the oracle-bmcs builder to allow users to
specify/override a pass phrase for the private key used to sign requests
to the BMCS API.
2017-08-02 09:53:48 +01:00
Andrew Pryde
25e4843a6f BMCS password protected keys via config file
Implements support for signing requests with encrypted private keys in
the BMCS SDK.

The pass_phrase property in the SDK config file is now supported. See
https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdkconfig.htm
for more information.
2017-08-02 09:53:48 +01:00
Andrew Pryde
3473162234 Add pass and interactive auth to bmcs ssh conf
Adds password and keyboard interactive authentication to the oracle-bmcs
builder.
2017-08-02 09:53:48 +01:00
Andrew Pryde
7eb3f30d50 Fix oracle-bmcs tests panicing instead of failing
Replace use of t.Errorf with t.Fatalf to prevent subsequent panic on nil
pointer access.
2017-08-02 09:53:48 +01:00
Andrew Pryde
7dcd7cac47 Remove default SSHUsername in oracle-bmcs config 2017-08-02 09:53:48 +01:00
Andrew Pryde
9728f890cf Implemented and documented oracle-bmcs builder
Implements a new Packer builder (oracle-bmcs) which adds support for
building custom images for Oracle Bare Metal Cloud Services (BMCS)
https://cloud.oracle.com/en_US/bare-metal.

Additionally includes documentation for the oracle-bmcs builder.
2017-08-02 09:53:48 +01:00
cstuntz
42444e58e6 Updating step_run_source_instance to add tags at instance start instead of adding them to running instance 2017-07-31 11:38:30 -07:00
Dan Isla
00797cc23b Update to how zone is extracted from metadata 2017-07-29 08:20:58 -07:00
Michael Kuzmin
9876a28ea7 vmware: publish vm_name as artifact ID 2017-07-28 11:16:46 +03:00
Matthew Hooker
b99e2c4b96 Merge pull request #5148 from zhuzhih2017/master
fix keypair error for debug mode and increase the wait time to avoid …
2017-07-27 13:02:09 -07:00
Rickard von Essen
858f1227af
cloudstack: Updated after review (2) 2017-07-27 21:32:47 +02:00
Tobias
eafaaa881f builder/hyperv/iso: missing InterpolateContext 2017-07-27 16:57:02 +02:00
Rickard von Essen
26cd27dc7c
cloudstack: Updated after review 2017-07-26 21:34:11 +02:00
Rickard von Essen
2fea167294
cloudstack: Updated after review 2017-07-26 19:01:12 +02:00
Rickard von Essen
89dcc93f1c cloudstack: Print instance password if debug mode 2017-07-26 07:38:05 +02:00
Rickard von Essen
fc964bfab2 cloudstack: Setup temporary SSH keypair 2017-07-26 07:38:05 +02:00
Rickard von Essen
8a035ddb8a
parallels: Remove soon to be removed --vmtype flag
In the next release of Parallels Desktop for Mac Pro Ed. the prlctl createvm
command doen't support the --vmtype flag anymore.
2017-07-26 07:27:08 +02:00
Saulius Grusnys
5ebc96744d Accelerator api is now GA, switching back to v1 from v0.beta 2017-07-21 15:05:24 +01:00
zhuzhih2017
8cf8079cad rename variable name to avoid misunderstanding 2017-07-21 09:47:21 +08:00
zhuzhih2017
62da0e7607 fix keypair error for debug mode and increate the wait time to avoid the timeout failure, add the more example 2017-07-20 11:13:59 +08:00
Saulius Grusnys
b6783a1180 Adding sanity checks in Prepare when adding accelerators and tests for accelerator configuration 2017-07-19 11:28:49 +01:00
Rickard von Essen
1bf8a0c6a1
cloudstack: Move ipaddress and host port to state 2017-07-18 21:40:36 +02:00
Rickard von Essen
07fffd7cd5 cloudstack: moved instanceSource to statebag 2017-07-18 16:39:28 +02:00
Rickard von Essen
ef5c7936f2 Merge pull request #5130 from rickard-von-essen/cloudstack-ssh-agent
cloudstack: Add support for ssh_agent_auth
2017-07-17 18:41:24 +02:00
Saulius Grusnys
200113b8c1 Switch googlecompute builder to use compute/v0.beta and add support for accelerator api 2017-07-17 15:39:41 +01:00
Megan Marsh
a2f7a65e35 fix communicator tests 2017-07-14 13:58:28 -07:00
Rickard von Essen
f47c41372e
cloudstack: Add support for ssh_agent_auth 2017-07-14 21:25:20 +02:00
Rickard von Essen
285b1391ae Merge pull request #5123 from rickard-von-essen/cloudstack-err
cloudstack: Improved error reporting
2017-07-14 13:22:18 +02:00
Rickard von Essen
4a6d029554 Merge pull request #5125 from rickard-von-essen/cloudstack-cidr
cloudstack: Add default cidr_list [ 0.0.0.0/0 ]
2017-07-14 11:14:51 +02:00
Rickard von Essen
89b9b4c456
cloudstack: Add default cidr_list [ 0.0.0.0/0 ] 2017-07-14 11:12:41 +02:00
Rickard von Essen
62dac4a168
cloudstack: some updates after review 2017-07-14 11:09:21 +02:00
Rickard von Essen
0d7c3ac171
cloudstack: Allow reading api_url, api_key, and secret_key from env vars
If unset reads:

- `api_url` from `CLOUDSTACK_API_URL`
- `api_key` from `CLOUDSTACK_API_KEY`
- `secret_key` from `CLOUDSTACK_SECRET_KEY`
2017-07-14 07:34:11 +02:00
Rickard von Essen
44089b2f55
cloudstack: Improved error reporting
Ensure that errors are shown when they happens.
2017-07-14 07:11:37 +02:00
Megan Marsh
938840782f Merge pull request #5059 from hashicorp/5053_fix
fix panic that occurs when ami_block_device_mappings and does not exp…
2017-07-07 10:32:48 -07:00
Sander van Harmelen
3f444997b2 Make expunge optional and improve logging output (#5099) 2017-07-07 10:54:58 +02:00
Sander van Harmelen
c4ef9bcd3f Make sure we always print and return any errors 2017-07-06 23:31:13 +02:00
Lars Tobias Skjong-Børsting
c01f6d8708 builder/cloudstack: Support http server (#5017)
builder/cloudstack: Added docs for http server
Closes hashicorp/packer#4949
2017-07-06 11:59:02 +02:00
Taliesin Sisson
2325c1ee58 Merge pull request #5085 from Lee303/builder-hyperv-temppath
Hyper-V Builder - Add support for temp_path directive to override system %temp%
2017-07-01 06:58:01 +01:00
Taliesin Sisson
d569a1b879 Merge pull request #5014 from Lee303/builder-hyperv-floppydirs
Add support for floppy_dirs with hyperv-iso builder
2017-07-01 06:52:36 +01:00
Lee
0680cb08e5 Add support for temp_path directive to override systemp %temp% 2017-07-01 00:19:27 +01:00
Megan Marsh
0b0fd408c4 Merge pull request #5048 from hashicorp/4887_patch
Fix windows filepath in docker-toolbox call.
2017-06-28 16:44:42 -07:00
Megan Marsh
c0e271ba9c Merge pull request #5076 from it-praktyk/Group_membership_by_SID
Verify membership in the group Hyper-V Administrators by SID not name
2017-06-28 09:20:48 -07:00
Wojciech Sciesinski
7bacc22825 Verify membership in the group Hyper-V Administrators by SID not name - fix #5022 2017-06-28 01:44:04 +02:00
Megan Marsh
12d43c98f7 test the deduplication code 2017-06-27 16:12:22 -07:00
Christopher Boumenot
ec96cacdf3 azure: write temporary ssh key to a file 2017-06-27 13:23:04 -07:00
Megan Marsh
5f92de6a39 fix panic that occurs when ami_block_device_mappings and does not explicitly contain the root volume 2017-06-27 13:17:45 -07:00
Rickard von Essen
46ec8ccb97 Merge pull request #5035 from rickard-von-essen/issue-5018
googlecompute: Allow using URL's for network and subnetwork
2017-06-27 22:03:09 +02:00