Commit Graph
18526 Commits
Author SHA1 Message Date
Megan Marsh 79862f1bbb Merge pull request #6931 from hashicorp/fix_6919
aws: better error handling of region/credential guessing from metadata
2018-11-05 11:24:09 -08:00
Michael Kuzmin d641a78fb3 don't read host properties if not required 2018-11-05 18:09:42 +03:00
borlandts 26cbcaed46 Document minimal permissions (#175) 2018-11-05 00:49:05 +03:00
Rickard von Essen b88b5c9aaa Merge pull request #6955 from hbokh/vagrant-libvirt-hvf
qemu: Add "hvf" as a libvirt driver
2018-11-04 14:42:56 +01:00
Rickard von Essen 8d807ba4bb vagrant: Add some docs about supported accelerators in libvirt provider 2018-11-04 14:32:40 +01:00
Henk e4c2216642 qemu: Add "hvf" as a libvirt driver
To prevent post-processing from failing when running on
macOS with the acceleratir set to "hvf".
2018-11-04 12:20:53 +01:00
Megan Marsh 5c2ca450bd fix tests 2018-11-02 15:44:27 -07:00
Megan Marsh 5815b376b4 remove unnecessary checks; we always default format to ovf if it is unset.
fix exportoutputdir
2018-11-02 14:22:01 -07:00
Megan Marsh c3144c2d0a add some missing template validation (copied from iso builder) and revert to current use of displayName for parsing vm ssh IP; using VMName was breaking chained builds that hadn't updated the display name from the previous build. 2018-11-02 14:22:01 -07:00
Megan Marsh c3d6d45696 modify test so that it accesses CommConfig the same way we really do within the driver 2018-11-02 14:22:01 -07:00
Megan Marsh 7d290a5df1 dont change ssh communicator as part of this pr 2018-11-02 14:22:01 -07:00
Megan Marsh f18bb19f96 remove redundant config; CommConfig was already a part of the SSSHConfig struct 2018-11-02 14:22:01 -07:00
Megan Marsh fa12113eaf remove unused NewLocalArtifact
consolidate artifacts
entirely remove local artifact object and get artifacts in the vmx builder the same way we do in the vmware iso builder
2018-11-02 14:22:01 -07:00
Michael Kuzmin 10f7b37895 Add tests for clusters 2018-11-02 13:30:01 +03:00
Adrien Delorme 3f288fc6ca aws client: config.WithMaxRetries(8) 2018-11-01 15:09:07 +01:00
Megan Marsh daf1f39930 Merge pull request #6918 from hashicorp/oracle_classic_volumes
Parameterized volume size support for Oracle classic builder
2018-10-31 16:03:40 -07:00
Michael Kuzmin a3f0f15ffd apply gofmt 2018-11-01 00:42:24 +03:00
Michael Kuzmin 6bfb34e0ab move gofmt into a separate script 2018-11-01 00:06:55 +03:00
Rémi Jouannet 4dcd6c1f9d add gofmt to test.sh (#167)
add gofmt to test.sh, the script exit 1 if one go files doesn't respect gofmt rules
2018-11-01 00:06:55 +03:00
Michael Kuzmin 43ee099ee7 pass vSphere credentials to tests 2018-11-01 00:05:01 +03:00
Michael Kuzmin d7fcff025f detect default network per host (#180) 2018-10-31 23:51:20 +03:00
Matthew Hooker 3ff038d4d1 remove todo 2018-10-31 12:00:33 -07:00
Adrien Delorme 609d4238c6 Merge pull request #6930 from rickard-von-essen/doc-user-data
docs: Improved docs for user_script
2018-10-31 15:33:46 +01:00
Adrien Delorme b66f655f5b run make fmt-doc 2018-10-31 15:22:29 +01:00
Adrien Delorme 60e6f1258c Merge branch 'master' into doc-user-data 2018-10-31 15:19:26 +01:00
Adrien Delorme eaf6e22d94 Merge pull request #6938 from c0sco/amazon-import-format
Support other formats in the amazon-import post-processor.
2018-10-31 15:12:33 +01:00
Mikhail Ushanov 4be83e20b1 scripts: add gcc package for using gco on build
Signed-off-by: Mikhail Ushanov <[email protected]>
2018-10-31 16:58:07 +03:00
Mikhail Ushanov 15235ce315 scripts: update go version to 1.11.1
Signed-off-by: Mikhail Ushanov <[email protected]>
2018-10-31 16:58:07 +03:00
Mikhail Ushanov d75bab9523 vagrantfile: add support for docker provider
Signed-off-by: Mikhail Ushanov <[email protected]>
2018-10-31 16:58:06 +03:00
Mikhail Ushanov 62d6cace47 vagrantfile: convert spaces to tabs
Signed-off-by: Mikhail Ushanov <[email protected]>
2018-10-31 16:58:06 +03:00
Mikhail Ushanov 699788d795 dockerfile: add minimal image with provisioners support
Signed-off-by: Mikhail Ushanov <[email protected]>
2018-10-31 16:58:06 +03:00
zhuzhih2017 f0492d10e5 Merge pull request #6943 from chhaj5236/fix/doc_typo
fix typo in doc of alicloud
2018-10-31 11:26:26 +08:00
bozhi.ch b571fb2458 fix typo in doc of alicloud 2018-10-31 10:55:50 +08:00
zhuzhih2017 550b41cdef Merge pull request #6939 from chhaj5236/feature/support_system_props
Ecs: add options for system disk properties
2018-10-31 10:35:13 +08:00
Matthew Hooker 94d3d366aa Update oracle-classic.html.md 2018-10-30 12:05:14 -07:00
Adrien Delormeandmwhooker accb4de0b1 Update website/source/docs/builders/oracle-classic.html.md
Co-Authored-By: mwhooker <[email protected]>
2018-10-30 12:04:13 -07:00
Adrien Delormeandc0sco b113518815 Use switch for readability
Co-Authored-By: c0sco <[email protected]>
2018-10-30 10:06:31 -07:00
bozhi.ch c3a60ad0ce add options for system disk properties 2018-10-30 21:09:59 +08:00
Adrien Delorme e980ecee63 Merge branch 'master' into amazon-import-format 2018-10-30 13:40:27 +01:00
Adrien Delorme 3315812c2c Merge pull request #6842 from gmmephisto/pr-master-aws-disable-ssl-verify
amazon: add option for skipping TLS verification
2018-10-30 13:29:28 +01:00
Adrien Delorme 5e79936b9a Merge pull request #6913 from ofosos/pause-after-provisioner
Add PauseAfter option to shell provisioner
2018-10-30 13:27:04 +01:00
Michael Kuzmin ebcd6174d4 Optionally use SATA controller for CD-ROM devices (#174) 2018-10-30 03:18:57 +03:00
Matt Stofko e9911a32f6 Merge branch 'master' into amazon-import-format 2018-10-29 15:58:16 -07:00
Matthew Hooker 42cd3e4bf7 Warn if not a pv build but builder image entry is set. cleanup 2018-10-29 15:23:58 -07:00
Matt Stofko c303a21390 Add documentation for 'format' parameter. 2018-10-29 14:54:42 -07:00
Matt Stofko 029819b5d5 Support formats other than OVA. 2018-10-29 14:52:12 -07:00
chbell43 653fa2298f use guard clauses
* just return early if no FloatingIP is required

* move the instanceIP declaration up and store in the state bag to avoid
errors in ssh.go
2018-10-29 18:36:08 +00:00
Mikhail Ushanov 9d4d41e32f docs/amazon: add 'insecure_skip_tls_verify' option
Signed-off-by: Mikhail Ushanov <[email protected]>
2018-10-29 21:35:29 +03:00
Mikhail Ushanov 4608b5d39d amazon: add option for skipping TLS verification
Signed-off-by: Mikhail Ushanov <[email protected]>
2018-10-29 21:35:29 +03:00
chbell43 ea78cb62fd Make the config.networkV2Client conditional
In cases where the OpenStack environment does not contain a v2 network, the
builder will error out.  We only need the networkV2Client when using floating
IPs.  This will allow packer to work in environments where a v2 network is not
available.
2018-10-29 18:32:09 +00:00