Megan Marsh
1ffc358ada
move tmp helper func into packer-plugin-sdk
2020-11-16 15:13:08 -08:00
Megan Marsh
f52a2ad0fa
move retry function that is only used by osc builder into that builder's common dir instead of the global common dir. Fix bug in quemu where the wrong retry value is checked against.
2020-11-13 15:24:58 -08:00
Megan Marsh
fa233a6a56
remove unused code leftover from original progress bar implementation
2020-11-13 15:24:58 -08:00
Megan Marsh
c4d0c5505a
fix tests
...
regenerate code
regenerate code, revendor
fix website
2020-11-13 15:00:12 -08:00
Megan Marsh
e04eaa89e6
move steps and step configs from packer/common to packer/common/commonsteps
2020-11-13 11:15:04 -08:00
Megan Marsh
6402362018
create packer-plugin-sdk directory and begin moving the relevant folders into it.
2020-11-13 10:47:36 -08:00
Megan Marsh
8ecd16db81
regenerate code
2020-11-10 08:16:59 -08:00
Megan Marsh
cd59d938b2
refactor core version pkg imports out of json interpolation/decode pathway.
2020-11-09 13:20:36 -08:00
Megan Marsh
bc85854a53
refactor packer version out of hcltemplate code.
2020-11-09 12:29:53 -08:00
Megan Marsh
cd74456026
Common provisioner helpers ( #10229 )
...
* update docstrings to make it clear that plugins are servers and core is client
* move provisioner guest helper functions into common dir.
2020-11-09 12:16:44 +01:00
Megan Marsh
2d90ffe7a4
move GeneratedData struct and PlaceholderMsg to same package under common
2020-11-06 10:45:38 -08:00
Megan Marsh
45b5f0c2ee
move custom http client creation with env proxy args into same package as other network related helpers
2020-11-04 14:51:14 -08:00
Megan Marsh
7b57e28600
move localexec to common/shell-local dir since it is related to shelling out locally
2020-11-04 11:56:46 -08:00
Megan Marsh
d8fec2e9e5
move the hyperv-only powershell dependency into the hyperv subdirectory ( #10198 )
2020-11-04 15:15:43 +01:00
Megan Marsh
c4001734d0
Merge pull request #10143 from hashicorp/do_9951
...
builder/vsphere: skip iso download if hashed file is already present on remote datastore
2020-10-22 15:06:04 -07:00
Megan Marsh
796c40f89b
builder/vsphere: skip iso download if hashed file is already present in remote packer_cache
2020-10-21 11:33:43 -07:00
Adrien Delorme
6d4fae0f2d
Add HCL2 aws_secretsmanager function ( #10124 )
...
* refactor aws get secrets function out to reuse it else where
* add aws_secretsmanager func and docs for HCL2
* fix GetSecret: allow to pick secret version
2020-10-20 16:21:40 +02:00
Megan Marsh
cc7dbf6092
Add consul_key function to integrate concul with hcl2 tempaltes. ( #10119 )
...
* Add consul_key function to integrate concul with hcl2 tempaltes.
* sidebar nav
2020-10-19 14:07:13 +02:00
Megan Marsh and Wilken Rivera
b105e5e416
Update common/step_create_cdrom.go
...
Co-authored-by: Wilken Rivera <[email protected] >
2020-10-02 09:17:29 -07:00
Megan Marsh
69fd5a1527
fix pathing in cd_files copy to make sure directories make it into the cd root.
2020-09-30 15:15:55 -07:00
Megan Marsh
09cdc4275b
Merge pull request #9974 from hashicorp/fix_9786
...
Switch to explicitly declaring TrackProgress on UI, using an underlyi…
2020-09-24 11:04:23 -07:00
Megan Marsh
a805bc538e
fix tests
2020-09-21 16:23:00 -07:00
Rui Lopes
13be37ee44
add support for running cygwin/msys2 based cd/iso creation tool (e.g. xorriso)
2020-09-17 07:25:00 +01:00
Megan Marsh
96e17b84bf
fix lost command part
2020-09-14 12:42:11 -07:00
Andreas Botzner
3739970b84
Adds ability to specify interfaces for http_directroy and VM for the Proxmox builder ( #9874 )
...
Adds two config options to the Proxmox builder:
```
http_interface
vm_interface
```
Both give the user the ability to specify an interface whos IP will be set as the `.HTTPIP` and VMIP respectively.
This is useful when the VM and or the machine executing Packer has multiple interfaces.
Until now Packer would accept the first non-loopback IP as the `.HTTPIP` and VMIP.
I'm open to suggestions and any kind of feedback.
* Added ability to define the NIC where the HTTPIP is taken from.
* Added VM interface config option
* fmt and documentation
* Moved HTTPInterface into HTTPCommon
* Build Fix
* Documentation Fix
2020-09-14 12:24:01 +02:00
Rui Lopes
53331644a6
add support for using xorriso to create the cdrom iso ( #9919 )
2020-09-11 14:11:19 -04:00
Megan Marsh and Wilken Rivera
988ab66731
Update common/extra_iso_config.go
...
thanks for the copyediting :D
Co-authored-by: Wilken Rivera <[email protected] >
2020-09-08 11:18:10 -07:00
Megan Marsh
d2dd158fe2
Implement cd_files option. The Addfile code is modified from the floppy_files
...
tooling. Tested on OSX, `Windows, and Linux. Documented command line dependencies.
Added acceptance tests (behind testacc flag, since there are dependencies).
This option is only implemented for the vmware and hyperv iso builders. It will be
implemented for others in later PRs in order to make review easier.
2020-09-04 12:20:19 -07:00
jsmcnair
78c280b1b7
Use common funcs / fix panic / clarify docs
2020-08-12 22:34:13 +01:00
Megan Marsh
f8bb9008c0
Merge pull request #9697 from backerman/personal/backerman/9695
...
Add FreeBSD support to azure/chroot
2020-08-10 12:47:48 -07:00