Megan Marsh
56a45b04ab
Move hook and communicator definitions to packer-plugin-sdk
2020-11-30 14:30:30 -08:00
Megan Marsh
14bdb9516c
move Artifact and artifact mock to the sdk
2020-11-30 14:29:52 -08:00
Megan Marsh
c70870cb83
move multierror and multierrorappend into sdk
2020-11-30 14:29:06 -08:00
Megan Marsh
001886670d
move Ui definition into the packer plugin sdk.
2020-11-30 14:26:54 -08:00
sylviamoss
3b523e147e
add config opt to additional storage to cloned vm
2020-11-20 16:20:46 +01:00
Megan Marsh
007337989e
move communicator helpers into communicator dir
2020-11-18 10:24:25 -08:00
Megan Marsh
3f6deb8828
move multistep into the plugin sdk
2020-11-17 16:31:03 -08:00
Megan Marsh
7d658149ea
update tests and website and generated partials to reflect new package format
2020-11-17 10:36:01 -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
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
Megan Marsh
7646ecf8c6
fix tests
2020-10-23 15:35:37 -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
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
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
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
796c40f89b
builder/vsphere: skip iso download if hashed file is already present in remote packer_cache
2020-10-21 11:33:43 -07: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
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
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
Sylvia Moss
903deb9e6a
vSphere StepHardware tests ( #9866 )
2020-09-02 10:19:57 +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
a1524bf96a
Add option to also import OVF templates to the Content Library ( #9755 )
2020-08-19 13:20:25 +02:00
Sylvia Moss
e475db6a66
check for ip after timeout ( #9748 )
2020-08-12 10:39:12 +02:00
Sylvia Moss
80960d7a64
Fix vsphere boot command and check for context cancelation when waiting for ip ( #9739 )
2020-08-10 18:16:19 +02:00
Megan Marsh
3f61498704
Merge pull request #9704 from ntoofu/f-vsphere-export-permission
...
Add `directory_permission` config option to `vsphere` builder
2020-08-05 10:57:30 -07:00
Sylvia Moss
dcacf7ad4c
Add vSphere HCL examples to the docs ( #9674 )
2020-08-05 19:23:52 +02:00
ntoofu
a53e81d9a2
Make docs more clear
...
https://github.com/hashicorp/packer/pull/9704#discussion_r465393240
2020-08-06 01:11:02 +09:00
jhawk28
6b8d086e94
alt, ctrl, and shift should be outside variables ( #9702 )
2020-08-05 17:36:40 +02:00
Sylvia Moss
dd37a10355
fix configuration_parameters ( #9713 )
2020-08-05 16:57:12 +02:00
ntoofu
5493285f65
Add `directory_permission` config option to `vsphere` builder
2020-08-02 15:02:31 +09:00
jhawk28
3370c91cf2
add some additional messaging when a boot command fails to type ( #9661 )
2020-07-29 15:06:45 +02:00
Sylvia Moss
5a006f226a
Don't use Packer context as vSphere driver context ( #9576 )
2020-07-14 11:45:19 +02:00
Sylvia Moss
eb5c3c3efb
fix file size descriptor ( #9568 )
2020-07-14 11:36:49 +02:00
Sylvia Moss
3a0dfa1259
add option to destroy vm after deploy to content library ( #9569 )
2020-07-14 10:07:20 +02:00
Moss
921078ccc0
add force_bios_setup configuration option
2020-07-10 12:30:22 +02:00
Sylvia Moss
9c1409dbba
Add content_library_destination to import VM template to a Content Library ( #9551 )
2020-07-10 11:01:10 +02:00
Megan Marsh
61b79b6e53
Merge pull request #9542 from jhawk28/bug_9511
...
clean up folder path so that it is what vsphere expects
2020-07-09 16:08:18 -07:00