Commit Graph

13334 Commits

Author SHA1 Message Date
Adrien Delorme 17c069baa5 builder.google:
* make CustomerEncryptionKey our own type so that it can be hcl2 generated
* make Account setting unexported so that it doesn't temper with HCL2 generation ( the field is set a bit later after processing )
2019-10-15 12:56:41 +02:00
Adrien Delorme f8402f1b91 builder.azure.common: make CloudEnvironment private so it doesn't temper with hcl2 code generation
the struct is not read from file but later set after some computations
2019-10-15 12:56:41 +02:00
Adrien Delorme 221e72e9c3 builder.amazon.common: remove pointer (*) from []*string and map[*string]*string types
because they make hcl2/cty decoding panic
2019-10-15 12:56:41 +02:00
Adrien Delorme 8b8c2fc138 builder.amazon.chroot: remove specific BlockDevice definition
because the common one already has a KmsKeyId field
2019-10-15 12:56:41 +02:00
Adrien Delorme 6a85855c81
Merge pull request #8230 from alrs/fix-provisioner-err
provisioner/shell: fix dropped error
2019-10-15 12:37:51 +02:00
Lars Lehtonen 9c19cfdc6f
provisioner/shell: fix dropped error 2019-10-15 03:21:05 -07:00
Adrien Delorme d2f5daf98f
Merge pull request #8209 from dvrkps/patch-3
Ignore retry.Config var
2019-10-15 10:29:51 +02:00
Megan Marsh f05fd3969f
Merge pull request #8212 from hashicorp/fix_8204
Fix 8204
2019-10-14 14:40:17 -07:00
Megan Marsh 2e20facc8b fix tests 2019-10-14 14:13:21 -07:00
Megan Marsh f5a0810e7a update changelog 2019-10-14 13:50:09 -07:00
Megan Marsh 7f6c8b93f8
Merge pull request #8227 from hashicorp/revert_backwards_incompatable_changes_for_1_4_5
Revert backwards incompatable changes for 1 4 5
2019-10-14 13:45:36 -07:00
Megan Marsh 0e70e0e5a4 fix template imports 2019-10-14 13:22:06 -07:00
Megan Marsh 9c782f4d04 Revert "Qemu builder disk size as a string"
This reverts commit 1ecfa032ba.
2019-10-14 13:09:22 -07:00
Megan Marsh 44f91c9afc Revert "remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name"
This reverts commit 0026792d2f.
2019-10-14 13:08:15 -07:00
Megan Marsh a45c7cfc3d
Merge pull request #8223 from lsmith130/patch-1
Update user-variables.html.md
2019-10-14 10:54:36 -07:00
Megan Marsh 985c49502e
Merge pull request #8224 from tencentyun/master
change links to english version
2019-10-14 10:42:44 -07:00
Landon Smith 4ea3460617
Update user-variables.html.md
Looks like the vault variables description was copied from the environment variables section, and someone left a reference to a environment variables.
2019-10-13 16:32:47 -07:00
Megan Marsh 90573a97dd
Merge pull request #8208 from psinghal20/conventional-format-isotime
feat: add strftime function in templates
2019-10-11 12:50:40 -07:00
Megan Marsh 2150ce7cba ran go mod vendor 2019-10-11 12:15:37 -07:00
Megan Marsh 95e1a0ef72 ran make generate to unstick tests 2019-10-11 12:05:46 -07:00
Megan Marsh a8da135a06
Merge pull request #8219 from EtienneDeneuve/master
Update docs for Sysprep
2019-10-11 09:53:08 -07:00
Etienne Deneuve f9aebe1c9c Change: Update doc, windows vm need ``/mode:vm`` to be syspreped correctly 2019-10-11 14:52:59 +02:00
Etienne Deneuve e574e9c4f6
Merge pull request #1 from hashicorp/master
Update packer repo
2019-10-11 14:34:54 +02:00
psinghal20 7f1f77b8c6
chore: tidy up go.mod
Signed-off-by: psinghal20 <psinghal20@gmail.com>
2019-10-11 14:35:44 +05:30
psinghal20 6492995a20
feat: add strftime function in templates
This commit adds strfttime function in templates to provide conventional format for ISO time based on C standard.

Signed-off-by: psinghal20 <psinghal20@gmail.com>
2019-10-11 14:35:39 +05:30
Davor Kapsa 29a6938de6
clean and return nil for retry.Config 2019-10-10 20:48:26 +02:00
Davor Kapsa 4c615341ef
Ignore retry.Config var
retry.Config is struct.
Call it err is wrong.
2019-10-10 17:33:24 +02:00
Adrien Delorme 9aac2246f2
Merge pull request #8210 from dvrkps/patch-4
Consolidate receiver name
2019-10-10 16:40:53 +02:00
Adrien Delorme 26ab75ea34
Merge pull request #8213 from chrisroberts/f-winrm-busy-loop
Prevent busy loop while waiting for WinRM connection
2019-10-10 14:49:27 +02:00
Li Kexian 7fd2006d35
change links to english version 2019-10-10 17:06:21 +08:00
Chris Roberts 8bb7d8dc16 Prevent busy loop while waiting for WinRM connection
Set first run variable outside conditional so it will properly be
updated during the first run and pause on subsequent runs.
2019-10-09 17:55:16 -07:00
Megan Marsh 4bc381183d make aws instsance builder work with recent changes for volume copy 2019-10-09 16:59:51 -07:00
Megan Marsh e283023d9b make sure step_register_ami in chroot builder respects encryption and ami skip build retion values once the copy happens 2019-10-09 16:52:41 -07:00
Megan Marsh 469af8e592 ebssurrogate builds didn't keep up with recent optimizations to region encryption in the ebs builder, and that was causing bugs with the common ami region copy step 2019-10-09 16:02:37 -07:00
Davor Kapsa 3eb075b9fc
Consolidate receiver name 2019-10-09 21:18:46 +02:00
Davor Kapsa fb267dd1dc
Add error check 2019-10-09 21:08:40 +02:00
Adrien Delorme 046f94c996
Merge pull request #8207 from dvrkps/patch-2
Add error check
2019-10-09 16:29:21 +02:00
Adrien Delorme bdc4213a1e
Merge pull request #8206 from dvrkps/patch-1
Remove explicit err var declaration
2019-10-09 16:26:01 +02:00
Davor Kapsa 49e4a2d9ef
Add error check 2019-10-09 15:55:07 +02:00
Davor Kapsa 50262ba0b8
Remove explicit err var declaration 2019-10-09 13:17:43 +02:00
Adrien Delorme c505f1c45e
Merge pull request #8202 from carlpett/codeowners-for-docs
Add builder CODEOWNERS to respective docs
2019-10-08 15:56:16 +02:00
Adrien Delorme 3aafba95dd
Merge pull request #8201 from brickstool/f-proxmox-cpu-type-support
[Proxmox] Add ability to select CPU type
2019-10-08 15:52:26 +02:00
Calle Pettersson 2c6df3017f Add builder CODEOWNERS to respective docs 2019-10-08 11:04:42 +02:00
Samuel Noordhuis eecac683b8
Update builder/proxmox/config.go
Co-Authored-By: Adrien Delorme <azr@users.noreply.github.com>
2019-10-08 19:45:15 +11:00
Adrien Delorme ef4db8b158
Merge branch 'master' into f-proxmox-cpu-type-support 2019-10-08 10:34:53 +02:00
Megan Marsh deda067355
Merge pull request #8199 from brickstool/f-proxmox-add-scsi-controller-support
[Proxmox] Add support for SCSI controller selection
2019-10-07 10:37:54 -07:00
Adrien Delorme d9563b1320
Merge pull request #8198 from amree/f-use-user-variable-for-region
Update "Build an Image" Documentation
2019-10-07 10:24:05 +02:00
Samuel Noordhuis 5add6cc6c8
Add ability to select CPU type 2019-10-06 21:39:53 +11:00
Samuel Noordhuis d3f369494a
Add support for SCSI controller selection 2019-10-06 20:14:04 +11:00
amree 7dbcefaf20 Update "Build an Image" Documentation
We defined a user variable for the region but we're not using it. This
PR will update the template to use that particular variable
2019-10-06 04:29:36 +08:00