Commit Graph

10959 Commits

Author SHA1 Message Date
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
Megan Marsh 2ae235a28a fix tests 2018-10-25 14:41:01 -07:00
Megan Marsh 290f4a7c4c cleanup to make it actually build after that monstrous rebase 2018-10-25 14:17:35 -07:00
Alexander Laamanen 77abb3afd4 Copy and paste export related documentation. 2018-10-25 13:02:37 -07:00
Alexander Laamanen 3193f50f17 Support export with the vmx builder. 2018-10-25 13:02:37 -07:00
Alexander Laamanen a68a639a1a Move step_export to common. 2018-10-25 12:55:10 -07:00
Alexander Laamanen 63054fb808 Fix the test. 2018-10-25 12:45:44 -07:00
Alexander Laamanen 50a36be5d1 Fix formating. 2018-10-25 12:45:44 -07:00
Alexander Laamanen 50a17cfc4e Add a comment about rource_path on remote builders. 2018-10-25 12:45:44 -07:00
Stuart Miller da5f322484 Add quotes around all filenames to prevent issues with spaces 2018-10-25 12:45:44 -07:00
Alexander Laamanen f42f5a8ad3 Remove some extra logging. 2018-10-25 12:44:29 -07:00
Alexander Laamanen e7e6a80587 No need to make upload public. 2018-10-25 12:39:51 -07:00
Alexander Laamanen c294e65c36 A separate driver file is not really needed anymore 2018-10-25 12:39:51 -07:00
Alexander Laamanen 2ed6c3ef5e Set output dir always according to the config. 2018-10-25 12:37:47 -07:00
Alexander Laamanen c940f7e754 Conditional reload. 2018-10-25 12:37:47 -07:00
Alexander Laamanen 17845beadc Fix the CommHost tests 2018-10-25 12:37:47 -07:00
Alexander Laamanen 53fef09696 Update the vmware-vmx documentation. 2018-10-25 12:37:47 -07:00
Alexander Laamanen 5e74bcfb88 Fix tests, move remote_ default values to driver_config. 2018-10-25 12:30:57 -07:00
Alexander Laamanen 4d9cb19012 Refactor artifacts and output_dir implementations. 2018-10-25 12:21:24 -07:00
Alexander Laamanen 2d00dc6756 Add VMName to the vmx mods. 2018-10-25 11:17:09 -07:00
Alexander Laamanen 7b5943160b Re-enable the CommHost() call. Use common's driver factory. 2018-10-25 11:17:09 -07:00
Alexander Laamanen ba22090bc9 Move step_register and step_uload_vmx from iso to common. 2018-10-25 11:07:02 -07:00
Alexander Laamanen b5298464c5 Move the remote_driver from iso to common. 2018-10-25 11:01:22 -07:00
Alexander Laamanen 91c7089455 Implement the first version of the remote Clone(). 2018-10-25 10:37:45 -07:00
Alexander Laamanen 46cfb5a30c Move driver_esx5 to commons and allow it to be instantiated wtih NewDriver() 2018-10-25 10:33:37 -07:00
Megan Marsh a66b6e0d48
Merge pull request #6906 from ofosos/doc-build-variables
Change wording of build template variables
2018-10-24 10:45:03 -07:00
Megan Marsh c7b938c9d4
Merge pull request #6904 from hashicorp/fix_6890
Fix 6890
2018-10-24 10:43:34 -07:00
Adrien Delorme d0ab078013
Merge pull request #6909 from hashicorp/fix_6908
builder/hyperv/vmcx: allow to set generation from buildfile
2018-10-24 16:02:35 +02:00
Adrien Delorme ed17cacf5a
Merge pull request #6907 from ofosos/arch-packer-package
Add note about Arch AUR `packer` package.
2018-10-24 15:56:55 +02:00
Adrien Delorme ee1874f773
Merge pull request #6910 from ofosos/file-provisioner-doc
Add note about overwriting destination file
2018-10-24 15:52:39 +02:00
Mark Meyer 6d81ad0af5 Add note about overwriting destination file
Closes #4905
2018-10-24 12:57:06 +02:00
Adrien Delorme 8908a72fa9 builder/hyperv/vmcx: allow to set generation from buildfile
this commit fixes #6908
2018-10-24 12:20:52 +02:00
Adrien Delorme ed793a8fb8 make ValidateRegion a member of *AccessConfig and make it variadic 2018-10-24 11:26:53 +02:00
Mark Meyer f4a2cd8d4b Add note about Arch AUR `packer` package.
Closes #6718
2018-10-24 11:20:50 +02:00
Mark Meyer d0a5d07ee1 Change wording of build template variables
This changes the wording of the build templates variables section in
the AWS builders.

Refer to #6791
2018-10-24 11:06:46 +02:00
Megan Marsh fe044d8ff7 fix tests 2018-10-23 13:31:56 -07:00
Megan Marsh 95d107a89c
Merge pull request #6898 from rickard-von-essen/kms-id-docs
Reference AWS docs for valid formats for kms_key_id
2018-10-23 12:20:57 -07:00
Megan Marsh 340009009d Revert "Revert "Merge pull request #6892 from hashicorp/fix_6890""
This reverts commit 0cd3f36d50.
2018-10-23 09:58:27 -07:00
Megan Marsh 0cd3f36d50 Revert "Merge pull request #6892 from hashicorp/fix_6890"
This reverts commit 1c4062c316, reversing
changes made to 9bc41a23b9.
2018-10-23 09:34:05 -07:00
Adrien Delorme 99e5351044 builder/amazon: fix alphabetical order for other docs
after #6900
2018-10-23 17:56:15 +02:00
Adrien Delorme e1ea60c906
Merge pull request #6900 from Panthaaaa/patch-1
Order Parameters alphabetically
2018-10-23 17:40:03 +02:00
Panthaaaa 22a5c567a7
Order Parameters alphabetically 2018-10-23 17:08:36 +02:00
Rickard von Essen bb63b08393
Reference AWS docs for valid formats for kms_key_id 2018-10-23 09:15:16 +02:00
Megan Marsh 7c60b4cb5f
Merge pull request #6854 from gordonbondon/gordonbondon/aws_kms_docs
Clarify amazon kms_key_id usage
2018-10-22 14:53:15 -07:00
Megan Marsh f9ceaee4f1 fix variable casing convention 2018-10-22 14:34:50 -07:00