Corey Hickey
fdb36e329d
allow attaching guest additions without a communicator
...
This avoids the error:
* guest_additions_mode has to be 'disable' when communicator = 'none'.
...when the following are set:
"communicator": "none",
"guest_additions_mode": "attach",
This particular combination of parameters is valid; for example, in my
case, a kickstart post-install script mounts the CD image from /dev/sr1
and runs the installer, without needing any intervention from packer
itself.
From my reading of the documentation, it appears that the "upload" mode
would indeed require a communicator, so I change the logic to check for
that specifically.
2020-11-24 15:46:14 -08:00
Roman Mingazeev
677c48d294
add record to changelog
2020-11-24 20:07:52 +03:00
Roman Mingazeev
a509781a03
added check of service account id in export
2020-11-24 20:04:37 +03:00
Gennady Lipenkov
138e3a081b
Add retries and wait after disk attach operation
2020-11-24 19:15:46 +03:00
Adrien Delorme
73b7499811
HCL2: version block: test validation & document version/availability ( #10298 )
...
* HCL2: Test that the packer block passes in packer validate
* HCL2: Test invalid packer blocks are invalid
* docs: state from which version the packer block is available
2020-11-23 10:27:26 -05:00
Roman Mingazeev
937e3425e5
add changelog record
2020-11-23 17:46:18 +03:00
Roman Mingazeev
2b8fcead23
support shellscript
2020-11-23 17:15:12 +03:00
Roman Mingazeev
0101eb1bb1
support merge cloud user-data
2020-11-23 13:19:50 +03:00
Adrien Delorme
c5da8c5c37
Fix salt-masterless provisioner after merge conflict compilation error ( #10296 )
...
This is most likely due to the merge between #10291 and #10257 ( that moves WindowsOSType into guestexec.
This fixes #10291
2020-11-23 10:29:12 +01:00
Megan Marsh
b50fe930e5
fix retries ( #10290 )
2020-11-23 09:39:17 +01:00
Megan Marsh
5a804de9a3
Merge pull request #10212 from OblateSpheroid/GH8211
...
Feat (builder/oracle-oci): support image launch mode
2020-11-20 15:53:18 -08:00
Megan Marsh
7141dcfecb
Merge pull request #10201 from davewoodward/feature/windows-package-manager
...
Add calls to winrepo.update_git_repos and pkg.refresh_db
2020-11-20 15:48:42 -08:00
Megan Marsh
f4041ee4d0
Merge pull request #10200 from aleksandrserbin/feature/describe-instance-on-fail
...
amazon-ebs: log state details on change
2020-11-20 15:31:40 -08:00
Megan Marsh
10c1b638b6
fix spaces vs tabs in formatting from github commit resolution
2020-11-20 15:24:43 -08:00
Megan Marsh
392cdc5fe4
Merge pull request #10199 from aleksandrserbin/feature/aws-ebs-io-validation
...
amazon-ebs: validate IOPS ratio
2020-11-20 15:23:59 -08:00
Megan Marsh
ba1e60ff35
Update builder/amazon/common/block_device_test.go
2020-11-20 15:15:39 -08:00
Megan Marsh
b3401b4f4d
Merge branch 'master' into feature/aws-ebs-io-validation
2020-11-20 15:09:22 -08:00
Megan Marsh
6bf4e89615
Merge pull request #10181 from remyleone/profile
...
scaleway: use the SDK functions to load profile from file and env
2020-11-20 15:06:50 -08:00
Megan Marsh
01f6763db0
fix generation
2020-11-20 14:53:08 -08:00
Megan Marsh
e34248a45d
Merge pull request #10172 from anish/gcpshieldedvms
...
Add support for creating shielded VMs to GCP
2020-11-20 14:46:51 -08:00
Megan Marsh
8ec7ee0ab7
Merge pull request #10093 from ufukty/digitalocean-connect-with-private-ip
...
Adds the capability of provisioning with private ip for digitalocean
2020-11-20 14:33:03 -08:00
Megan Marsh
60e62bbb51
Merge pull request #10287 from hashicorp/implement_9990
...
Add configuration options to add additional storage to a cloned vm
2020-11-20 13:34:56 -08:00
Megan Marsh
030f40a7b6
Merge pull request #10286 from hashicorp/hcl2template_extraction
...
move hcl2template kv types into the config/custom_types
2020-11-20 12:48:26 -08:00
Megan Marsh
779661bee6
Merge pull request #10285 from hashicorp/fix_generate_errors
...
Fix generate errors
2020-11-20 10:36:22 -08:00
sylviamoss
99e7ac5f42
fix test and generated code
2020-11-20 17:15:47 +01:00
sylviamoss
3b523e147e
add config opt to additional storage to cloned vm
2020-11-20 16:20:46 +01:00
Wilken Rivera
f42094688f
Add note to unmaintained provisioners ( #10283 )
2020-11-19 10:36:31 -05:00
Megan Marsh
ea1ac530b0
move hcl2template kv types into the config/custom_types with trilean definitions
2020-11-18 15:46:59 -08:00
Megan Marsh
cbaecf9077
remove unused SkipValidation field which was a duplicate of the SkipRegionValidation field.
...
remove duplicate temporary key pair name
change communicator code
2020-11-18 14:21:40 -08:00
Megan Marsh
aff33f057a
Merge pull request #10282 from hashicorp/version_and_useragent_to_sdk
...
Version and useragent to sdk
2020-11-18 14:11:25 -08:00
Megan Marsh
5323e3f83c
Merge pull request #10281 from hashicorp/communicator_helper_move
...
move communicator helpers into communicator dir
2020-11-18 14:10:53 -08:00
Megan Marsh
f8f1ebf0c7
move version and useragent definitions into sdk
2020-11-18 11:42:02 -08:00
Megan Marsh
9e47696dff
move helper/config to bundle with the other template definitions
2020-11-18 10:34:59 -08:00
Megan Marsh
007337989e
move communicator helpers into communicator dir
2020-11-18 10:24:25 -08:00
Megan Marsh
bf47d12cf2
Merge pull request #10275 from hashicorp/multistep
...
move multistep into the plugin sdk
2020-11-18 09:56:33 -08:00
Anish Bhatt
ecb72663f3
Add support for creating shielded VMs to GCP
2020-11-17 18:37:46 -08:00
Megan Marsh
da0e478044
fix imports
2020-11-17 17:18:45 -08:00
Megan Marsh
3a11954d96
fix generated files and website
2020-11-17 17:07:02 -08:00
Megan Marsh
3f6deb8828
move multistep into the plugin sdk
2020-11-17 16:31:03 -08:00
Megan Marsh
8350ade7ef
Merge pull request #10266 from hashicorp/command_flags
...
Move flag packages from helper to command
2020-11-17 10:59:07 -08:00
Megan Marsh
e637407797
Merge pull request #10257 from hashicorp/plugin-sdk-5
...
Plugin sdk 5
2020-11-17 10:54:53 -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
3da99f7bdc
add more documentation to the packages in common directory
2020-11-17 10:35:00 -08:00
Megan Marsh
2baffa3ebc
Merge pull request #10267 from hashicorp/move_tmp
...
move tmp helper func into packer-plugin-sdk
2020-11-17 10:17:32 -08:00
Chris Lundquist
f8cee26dac
Merge pull request #10265 from lz1irq/update-lxd-builder-docs
...
Add couple of missing LXD builder parameters to documentation
2020-11-16 17:47:42 -08:00
Megan Marsh
1ffc358ada
move tmp helper func into packer-plugin-sdk
2020-11-16 15:13:08 -08:00
Megan Marsh
6a1a22151c
move the various flag packages from helper to command, since command is the only package that uses them.
2020-11-16 14:23:35 -08:00
Ivaylo Markov
37eec09cea
Add couple of missing LXD builder parameters to documentation
2020-11-16 23:17:35 +02:00
Megan Marsh
4ead224c3b
Merge pull request #10256 from hashicorp/plugin-sdk-4
...
Plugin sdk 4
2020-11-16 12:00:06 -08:00
Megan Marsh
94a660147e
rename retry so it doesn't stutter
2020-11-16 11:49:33 -08:00