Megan Marsh
69312458c4
Merge pull request #10111 from hashicorp/azr_selectable_temp_keygen_type_gcp
...
GCP: Allow to select algo when generating temporary SSH keypair
2020-10-28 11:25:50 -07:00
Megan Marsh
dc38fadeeb
Merge pull request #10155 from hashicorp/logging_for_10042
...
builder/vsphere: Don't try to delete a cd file from the remote datastore if the upload of the cd failed
2020-10-27 10:54:07 -07:00
Megan Marsh
8adbba6904
switch to guard clause format
2020-10-27 10:37:03 -07:00
Megan Marsh
c4866504e1
respect the destroy flag in content library config ( #10165 )
...
* respect the destroy flag in content library config
* Make vsphere-clone respect delete_vm state tag; use a common delete func to prevent future drift
2020-10-27 09:07:08 -04: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
Megan Marsh
7646ecf8c6
fix tests
2020-10-23 15:35:37 -07:00
Megan Marsh
56c7a9cda5
rebase
2020-10-23 11:47:20 -07:00
netapp-jgriffit
15467aa868
Update builder/vsphere/common/step_shutdown.go
...
Co-authored-by: Sylvia Moss <sylviamoss.m@gmail.com>
2020-10-23 11:41:03 -07:00
James Griffith
185f3d9d48
vsphere clone config not yet using warnings, leaving code commented out
2020-10-23 11:41:03 -07:00
James Griffith
c8ad66f419
update to docs as suggested
2020-10-23 11:41:03 -07:00
James Griffith
c86a48fbc9
syntax change
2020-10-23 11:41:03 -07:00
James Griffith
f86f7c4464
Another instance using `Prepare()` needed an update
2020-10-23 11:41:03 -07:00
James Griffith
09edada93d
moved the warning into Prepare() and updated the invocation
2020-10-23 11:41:03 -07:00
James Griffith
572de129d7
update documentation
2020-10-23 11:41:03 -07:00
James Griffith
1048cdbcc4
check for no communicator and provide messaging to user
2020-10-23 11:41:03 -07:00
James Griffith
2ecf5cc9aa
Communicator is not needed unless shutdown_command is populated
2020-10-23 11:41:03 -07:00
James Griffith
6b39b1eed6
StepShutdown should still occur if Comm.Type is none
2020-10-23 11:41:03 -07:00
James Griffith
65ff092fd4
hashicorp/packer#9924
2020-10-23 11:41:03 -07:00
Megan Marsh
19bd997f11
add directory existence check
2020-10-23 11:06:25 -07:00
Megan Marsh
7fac596b37
don't try to delete a cd file if the upload of the cd itself failed
2020-10-22 16:53:40 -07: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
c0ce8a9414
rework fixer deprecation code so we know what plugins they relate to
2020-10-21 15:28:59 -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
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
Megan Marsh
709a173060
fix docs linking issue
2020-10-09 14:01:21 -07:00
sylviamoss
75d649e051
add step_remove_cdrom tests
2020-09-23 12:09:33 +02:00
sylviamoss
2de3f2755a
add step_remove_floppy tests
2020-09-23 12:00:28 +02:00
sylviamoss
7cd6ee2b3b
add FindDatastore driver test
2020-09-22 17:42:35 +02:00
sylviamoss
b881a59bc8
refactor vcenter simulator setup
2020-09-22 16:48:53 +02:00
sylviamoss
7b1af2c4e8
add step_add_floppy unit tests
2020-09-22 16:23:11 +02:00
sylviamoss
b46f587450
vsphere-clone use common step_add_cdrom
2020-09-22 11:34:49 +02:00
sylviamoss
778d77e4a2
add floppy and cd to vsphere-clone
2020-09-18 17:09:01 +02:00
Sylvia Moss
ce2047f30b
vSphere StepAddCDRom tests ( #9955 )
2020-09-18 09:57:01 +02:00
Megan Marsh
ef01bb5ba6
generated code
2020-09-14 15:35:38 -07:00
Megan Marsh
e70e8c8651
add cd_files
2020-09-14 14:59:51 -07:00
Sylvia Moss
caf65781d7
Add vsphere-clone mac_address option ( #9930 )
...
* add vsphere-clone mac_address option
* check on prepare if network is set together with mac_address
2020-09-14 13:18:39 +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
Megan Marsh
8ffa0d2060
Merge pull request #9842 from jason-azze/patch-1
...
Builders vsphere-iso and vsphere-clone - CPUs is actually for cores, not sockets.
2020-09-09 16:03:45 -07:00
Megan Marsh
ca650c9602
fix struct comment for generation
2020-09-09 16:01:30 -07:00
Troy Lindsay
d1a61cac33
Add NVMe controller support to vsphere-iso builder ( #9880 )
2020-09-03 11:14:58 +02:00
Troy Lindsay
602729ac23
Fix vsphere-iso acceptance tests ( #9878 ) ( #9881 )
2020-09-03 10:17:49 +02:00
Sylvia Moss
903deb9e6a
vSphere StepHardware tests ( #9866 )
2020-09-02 10:19:57 +02:00
Sylvia Moss
24dbd0a28b
Fix iso_path validation regex ( #9855 )
2020-09-01 10:11:48 +02:00
Sylvia Moss
58a0bdd780
Look for a default resource pool when root resource pool is not found ( #9809 )
2020-08-31 16:26:48 +02:00
Sylvia Moss
942bfbf221
Add driver mocks and write tests to steps Remote Upload and Create VM ( #9833 )
2020-08-31 10:34:41 +02:00
Sylvia Moss
2152fa3313
Accept content library path in iso_paths ( #9801 )
2020-08-24 16:54:30 +02:00
Sylvia Moss
ada2a431ef
Modularise vCenter rest client ( #9793 )
2020-08-20 17:55:25 +02:00
Sylvia Moss
a1524bf96a
Add option to also import OVF templates to the Content Library ( #9755 )
2020-08-19 13:20:25 +02:00
Megan Marsh
acba3ea3e7
Document network path ( #9762 )
2020-08-13 11:26:40 -04:00