Commit Graph

117 Commits

Author SHA1 Message Date
Matthew Hooker ebe995c0ff
run goimports 2018-01-22 17:21:10 -08:00
Andrew Pryde bb497c2453 Fixed incorrect test failure message in oci client 2017-10-18 11:11:14 +01:00
Andrew Pryde f426ba4660 Do not override region in OCI builder
Only default the OCI builder region to us-phoenix-1 when no value is
present in the packer template and the OCI config file.

Fixes: #5401
2017-09-29 10:51:31 +01:00
Matthew Hooker ab216ec61b
Add license with copyright notice 2017-09-12 12:22:50 -07:00
Andrew Pryde 6fd2f6701d
Rename Oracle BMCS builder to OCI
Oracle Bare Metal Cloud Services (BMCS) has been rebranded as Oracle
Cloud Infrastructure (OCI).
2017-09-12 10:40:56 -07:00
Matthew Hooker 322422f235
remove copyright notice header and add COPYRIGHT file 2017-09-08 09:49:06 -07:00
Andrew Pryde dbbe8665e6 NewRunner -> NewRunnerWithPauseFn in bmcs builder 2017-09-05 11:08:27 +01:00
Andrew Pryde e8e0e8c948 Add ssh_private_key_file support to BMCS builder 2017-08-02 17:18:53 +01:00
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