Megan Marsh
c9fbb10c6e
move helper/config into packer-plugin-sdk
2020-11-12 16:41:13 -08:00
Megan Marsh
12e1831b56
move common directory into packer plugin sdk
2020-11-12 14:44:02 -08:00
Megan Marsh
67e856aaca
move steps and step configs from packer/common to packer/common/commonsteps
2020-11-11 15:05:08 -08:00
Megan Marsh
7be0cf428a
create packer-plugin-sdk directory and begin moving the relevant folders into it.
2020-11-11 10:21:37 -08:00
Megan Marsh
3db40194af
version files
2020-11-10 14:48:06 -08:00
Megan Marsh
8ecd16db81
regenerate code
2020-11-10 08:16:59 -08:00
Adrien Delorme
bab29060fe
regen hcl after master merge
2020-10-26 15:48:10 +01:00
Adrien Delorme
f5e037e8b4
Merge remote-tracking branch 'origin/master' into azr_selectable_temp_keygen_type_gcp
2020-10-26 15:47:29 +01:00
blz-ea
73370570f4
Fix Proxmox builder unhandled buildvar type ( #10154 )
...
* Fix Proxmox builder unhandled buildvar type #10139
Co-authored-by: Calle Pettersson <carlpett@users.noreply.github.com>
Co-authored-by: Adrien Delorme <adrien.delorme@icloud.com>
2020-10-26 15:11:09 +01:00
Adrien Delorme
522d122858
regen all code
2020-10-21 12:04:10 +02:00
Adrien Delorme
54032d6c11
gen code and docs
2020-10-15 16:51:23 +02:00
Jeff Wong
2861ad9074
clean up imports
2020-10-11 11:47:02 -07:00
Jeff Wong
93531b3ec5
[proxmox] Adds proxmox fixer and fixer test
...
Add fixer for proxmox to proxmox-iso. Updated gofmt.
2020-10-08 00:04:43 -07:00
Jeff Wong
a140c13943
[proxmox] add proxmox builder alias
...
Adds an alias for `proxmox` that points to proxmox-iso builder for
backwards compatibility
2020-10-07 23:43:12 -07:00
Jeff Wong
cd3bdc9e38
REFACTOR: do not pass comm ref through statebag
2020-10-06 22:45:19 -07:00
Jeff Wong
fdda18e392
Use Trilean for boolean value, and allow for missing values for defaults
2020-10-06 17:24:45 -07:00
Jeff Wong
977022fb35
Go format
2020-10-06 16:53:29 -07:00
Jeff Wong
a26e3e6887
[Proxmox] FIX: tests, add required iso_file to basic iso config tests
2020-10-06 16:04:18 -07:00
Adrien Delorme
f6d362d392
skip Ctx
2020-10-06 11:54:04 +02:00
Adrien Delorme
25d7e7ce17
fix tests
2020-10-06 11:48:24 +02:00
Adrien Delorme
5b3ff89cb0
proxmox: move iso.storageConfig to common.storageConfig
2020-10-06 11:42:49 +02:00
Adrien Delorme
1260e123aa
proxmox.Config: remove mapstructure:",squash" tag
2020-10-06 11:14:09 +02:00
Adrien Delorme
b2be255057
Merge remote-tracking branch 'origin/master' into pr/featheredtoast/9626-1
2020-10-06 11:11:04 +02:00
Roman Tomjak
b6ff793496
builder/proxmox: add support for io threads ( #9969 )
2020-09-25 14:59:54 +02:00
Jeff Wong
5d15f5e2f4
No longer need a 15 second sleep
2020-09-14 13:36:26 -07:00
Jeff Wong
3c9969d841
cleanup goimports for linter
2020-09-14 12:49:38 -07:00
Jeff Wong
018a1a5da0
Correct full clone logic
2020-09-14 12:15:07 -07:00
Jeff Wong
681d0f8467
Correct builder ID
2020-09-14 11:59:47 -07:00
Jeff Wong
99c3872a48
run go fmt
2020-09-14 11:58:50 -07:00
Andreas Botzner
c032d463d3
Bootcommand Fix For Proxmox Builder ( #9885 )
2020-09-14 17:17:38 +02: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
Jeff Wong
aa5eb770d0
DEV: use proper interfaces for vmCreator
2020-09-11 16:45:16 -07:00
Jeff Wong
cfece501d0
Implement proxmox-clone
2020-09-09 23:55:35 -07:00
Calle Pettersson
905869308d
Split proxmox builder into a common part and iso/clone builders
...
Clone builder is still just a stub. Proof-of-concept for #9626
Signed-off-by: Calle Pettersson <calle@cape.nu>
2020-09-04 23:53:09 +02:00
Andreas Botzner
e4f975fae1
Allows for the mounting of ISOs when a Proxmox VM s created. Same as … ( #9653 )
...
Allows the mounting of additional ISOs when the VM is created. The config option was taken from PR #9055 and slightly changed. Users can specify an array of bus names, bus numbers and filenames.
"cd_drive":[
{
"bus": "ide",
"bus_number": 3,
"filename": "isos:iso/virtio-win-0.1.187.iso"
},
{
"bus": "sata",
"bus_number": 3,
"filename": "isos:iso/someother.iso"
}
]
Closes : #7950
Co-authored-by: Calle Pettersson <carlpett@users.noreply.github.com>
2020-08-31 10:48:24 +02:00
Megan Marsh
a687d6fe12
ci/tech-debt: Fix vmware acceptance tests ( #9636 )
...
* add kex algorithm option to ssh config
* regenerate code
* This commit fixes old vmware acceptance tests that have not been run in some time. It does this in two parts:
1) It modifies the minimal vmware build configuration to use a custom kex algorithm, which enables the ssh connection to succeed.
2) It modifies logic in reading and defaulting hardware config values, which was crashing.
3) It adds a new acceptance test with a preseed file to test loading from an http directory.
2020-07-23 09:40:57 +02:00
Megan Marsh
9f34241b5c
Merge pull request #9597 from romantomjak/multiqueue-net-option
...
builder/proxmox: add support for multiple NIC packet queues
2020-07-17 09:07:04 -07:00
Roman Tomjak
a2220e5f08
make linter happy
2020-07-16 18:19:22 +01:00
Roman Tomjak
d3d7cc3e59
configure packet queues on nics
2020-07-16 17:56:58 +01:00
Roman Tomjak
a65157a91b
use helper method for mandatory config
2020-07-16 17:41:56 +01:00
Roman Tomjak
7ed8709483
add option to configure network adapter multiqueue support
2020-07-15 23:07:02 +01:00
Roman Tomjak
376b8c045e
use the value of disable kvm flag when creating the VM
2020-07-15 19:12:01 +01:00
Roman Tomjak
be7251f185
add option to disable kvm hardware virtualization
2020-07-15 18:47:24 +01:00
Roger Hu
28f8241a05
update generated files
2020-07-10 16:58:06 -07:00
Moss
8ea64c5b35
undocument ssh_keypair_name and ssh_agent_auth
2020-07-02 14:55:58 +02:00
Moss
41edd09d3c
undocument temporary_key_pair_name and ssh_private_key_file
2020-07-01 16:33:18 +02:00
Roman Tomjak
212200c88f
Proxmox NIC firewall flag ( #9487 )
...
* add test for firewall toggle
* generate hcl config
* send firewall toggle to proxmox
* update docs
* drop the pointer to bool
* use setDeviceParamIfDefined
2020-06-30 11:04:19 +02:00
Megan Marsh
4f77bb0c4a
add new ssh_ciphers option
2020-06-17 16:48:23 -07:00
Megan Marsh
4178625afb
re-add winrm_no_proxy option. Winrm code needs to be modified in order to read no_proxy env var when client is created rather than when net/http library is instantiated.
2020-06-16 10:27:30 -07:00
Calle Pettersson
0bcfefd0bc
Update Proxmox storagePoolTypes ( #9418 )
2020-06-15 14:00:32 +02:00