Megan Marsh
a34a33296a
refresh builder docs
2021-01-13 16:27:14 -08:00
Megan Marsh
51d45ab77f
Merge pull request #10472 from hashicorp/17_upgrade_guide
...
add docs
2021-01-13 14:05:33 -08:00
Megan Marsh
368eb4aa00
add more context to intro
2021-01-13 13:19:10 -08:00
Megan Marsh
f43bb2f0c6
make table from import changes
2021-01-13 13:15:32 -08:00
Megan Marsh
21b37d4f8a
Co-authored-by: Sylvia Moss <moss@hashicorp.com>
...
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
Review comments
2021-01-13 13:13:01 -08:00
Megan Marsh
f504d37b98
fix table
2021-01-13 13:12:34 -08:00
Megan Marsh
ff0e9f00b2
make table
2021-01-13 13:05:22 -08:00
Megan Marsh
561862a353
Update website/content/guides/1.7-plugin-upgrade/index.mdx
...
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-01-13 13:01:24 -08:00
Megan Marsh
4955045240
Update website/content/guides/1.7-plugin-upgrade/index.mdx
...
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-01-13 13:01:03 -08:00
Megan Marsh
8e7f513805
Update website/content/guides/1.7-plugin-upgrade/index.mdx
...
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-01-13 13:00:51 -08:00
Megan Marsh
22c2d1a5bd
Update website/content/guides/1.7-plugin-upgrade/index.mdx
...
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-01-13 12:15:19 -08:00
Megan Marsh
ebb609e4f2
Update website/content/guides/1.7-plugin-upgrade/index.mdx
...
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-01-13 12:14:56 -08:00
Megan Marsh
26d5c271ab
Update website/content/guides/1.7-plugin-upgrade/index.mdx
...
Co-authored-by: Sylvia Moss <moss@hashicorp.com>
2021-01-13 12:13:53 -08:00
Megan Marsh
a112882999
Update website/content/guides/1.7-plugin-upgrade/index.mdx
...
Co-authored-by: Sylvia Moss <moss@hashicorp.com>
2021-01-13 12:13:41 -08:00
Megan Marsh
bc01ffe2dd
Merge pull request #10456 from triarius/spot-instance-lt-resource-tags
...
Add tags as resource tags in the launch template used to request spot instances
2021-01-13 12:12:17 -08:00
Brandon Romano
5ad0913dbe
Website StackMenu updates for 1/14
2021-01-13 10:25:02 -08:00
Adrien Delorme
52d2d7fe5f
Copy `MapOf...` plugin types back into Packer core ( #10466 )
...
* move maps of plugins back in core
* go mod vendor
* more fixes
* fix imports
* Update core_test.go
* fix build
* more fixes
* more fixes
* up vendors after fixing sdk
* Update post_processor_mock.hcl2spec.go
* Leave implementatino of MapOf in the sdk for plugi tests
Other wise use the interface
* go mod tidy
* add MapOfDatasource type too
2021-01-13 12:14:06 +01:00
Daniel Frederick Crisman
1e8b0723f5
minor doc update with missing "use" vsphere config ( #10474 )
2021-01-13 11:38:45 +01:00
Megan Marsh
5d49a522c0
add to navigation js page
2021-01-12 13:49:49 -08:00
Megan Marsh
f591396b7e
Add guide for upgrading plugins to use the packer-plugin-sdk
2021-01-12 13:42:12 -08:00
Gareth Rees
2dd2ef3c49
- Isolate OSLogin service account derivation from google metadata server to OSLogin step only
2021-01-12 21:38:41 +00:00
Jeff Escalante
e77d270fc4
remove netlify artifacts ( #10471 )
2021-01-12 15:04:36 -05:00
Narthana Epa
cf30b49e6c
Use run_tags (resp run_volume_tags) to tags intances (resp volumes) created from the spot instance launch template
2021-01-12 23:37:01 +11:00
seventieskid
707d2d8236
Refined logging and return scope
2021-01-11 23:04:36 +00:00
Megan Marsh
c3da09b441
Merge pull request #10468 from hashicorp/fix_vsphere_pp
...
fix regression in return code checking in vsphere postprocessor. this…
2021-01-11 13:34:00 -08:00
Megan Marsh
6917866259
fix regression in return code checking in vsphere postprocessor. this was introduced in v1.6.1
2021-01-11 13:12:24 -08:00
Megan Marsh
e7a2615383
Merge pull request #10451 from somerandomqaguy/fix-qemu-vnc_min_port
...
Fix for vnc_min_port set to value greater then 5900 potentially causing packer to be unable to connect to QEMU
2021-01-11 11:29:17 -08:00
Jeff Escalante
80a449cc5e
Website: prepare for vercel hosting move ( #10402 )
...
* prepare to move to vercel hosting
* add html extension handling
* add back netlify files for transition
2021-01-11 14:10:47 -05:00
Tristan Watson
17c806fbf5
Removing obsolete packer HCL warnings from CLI for validate and command ( #10461 )
2021-01-11 11:50:23 +01:00
Gareth Rees
f525e884ed
Timeout on metadata server
2021-01-10 18:29:37 +00:00
Narthana Epa
bb94df2d02
Add mocking of launch template id
...
It is being printed after it is created so we need to mock it to prevent
a nil pointer dereference when the tests are run with the launch
template create request is mocked.
2021-01-10 00:00:16 +11:00
Narthana Epa
f7588a3737
Add printing of launch template id
2021-01-09 23:59:31 +11:00
Narthana Epa
f7e68f1d71
Add spot tags as resource tags of instances and volumes in launch template
...
According to the APIReference:
<https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateTagSpecificationRequest.html >,
the resource types `instance` and `volume` support tagging on creation.
It is useful to add the spot tags here as it should be more reliable
than tagging them after the spot request is fulfilled as we currently
do.
2021-01-09 23:58:23 +11:00
Darwin Liu
8ef4cfa070
Add in a sanity check for valid vnc ports
...
Check to make sure that the max and min VNC ports be below 65535 in
config.
2021-01-08 13:43:02 -07:00
Darwin Liu
2b698478a6
Adjusted QEMU step_run_tests.go to reflect previous changes
2021-01-07 22:23:51 -07:00
Darwin Liu
4f2e9117c3
QEMU: Minor fix to VNC mapping parameters and output
...
* Set the QEMU builder vnc_port_min to have a minimum value of 5900,
with updated documentation to explain why.
* Changed output messages so that the correct port is listed in packer's
messaging to the user.
LONGER DESCRIPTION
If vnc_min_port is set to anything above 5900, then packer will fail to
connect via VNC to the QEMU instance. This is due to how QEMU parses
the port for listening to VNC:
host:d
TCP connections will only be allowed from host on
display d. By convention the TCP port is 5900+d.
Previously the calculation for the port was vncPort - VNCPortMin,
however this will result in an incorrect port being displayed in
packer's messages and potentially packer being unable to connect via VNC
to the host.
For example if vnc_port_min=5990 nad vnc_port_max=5999:
```
Looking for available port between 5990 and 5999 on 0.0.0.0
Found available port: 5996 on IP: 0.0.0.0
Found available VNC port: 5996 on IP: 0.0.0.0
[....]
==> Starting VM, booting disk image
view the screen of the VM, connect via VNC without a password to
vnc://0.0.0.0:6
```
This will cause QEMU to set the listening port to 5906 while packer's
VNC client is attempting to connect to 5996.
I am a touch concerned as this commit undoes pull request #9905
(specfically commit 7335695c
), but I am also confused as to how he was
able to get QEMU to get a VNC listening port below 5900, as examining
QEMU's git history has shown that this behavior has been in since at
least 2017, probably older.
Hopefully the more explicit error messaging and documentation can make
it clear why this is being undone.
2021-01-07 22:23:43 -07:00
Megan Marsh
6564ee76e8
fix vendoring
2021-01-07 15:45:16 -08:00
Megan Marsh
77c3c12244
fix vendoring
2021-01-07 15:44:58 -08:00
Megan Marsh
da0ee96cdd
fix imports
2021-01-07 15:38:46 -08:00
Megan Marsh
beba3a90a9
fix discover.go
2021-01-07 15:38:38 -08:00
Megan Marsh
c94d66db13
clean up dependencies
2021-01-07 13:03:20 -08:00
Megan Marsh
4ac55446a1
fix go.mod
2021-01-07 12:00:57 -08:00
Megan Marsh
0666b787fc
allow plugins with registered items with name from plugin.DEFAULT_NAME string constant to be passthroughs to the plugin binary suffix
2021-01-07 11:55:51 -08:00
Wilken Rivera
9adeb989c6
Merge pull request #10442 from hashicorp/d-broken-link-check
...
Add GitHub action to check for broken markdown links
2021-01-06 16:30:38 -05:00
Wilken Rivera
8d4c7d31b4
Add regenerated docs from packer-plugin-sdk
...
```
cd $HOME/Development/packer-plugin-sdk
PROJECT_ROOT=packer-plugin-sdk go generate ./...
rsync -av multistep/commonsteps/packer-plugin-sdk/website/content/partials/ ../packer/website/content/partials/
rsync -av bootcommand/packer-plugin-sdk/website/content/partials/ ../packer/website/content/partials/
rsync -av shutdowncommand/packer-plugin-sdk/website/content/partials/ ../packer/website/content/partials/
rsync -av communicator/packer-plugin-sdk/website/content/partials/ ../packer/website/content/partials/
```
2021-01-06 16:27:12 -05:00
Wilken Rivera
04dbbe2d8e
Fix broken links detected by link checker
...
- Fix broken example links
- Fix broken provisioner links
- Ignore linode.com because of DDOS protection settings
2021-01-06 16:27:12 -05:00
Wilken Rivera
7b793cefb1
Add GHA to check for broken links on pull-request
...
- Add scheduled cron job for checking against master
- Change configuration file path
2021-01-06 16:26:57 -05:00
Jeff Escalante
a4e5df9149
set main branch to master for 'edit this page' links ( #10447 )
2021-01-06 16:19:06 -05:00
Felix Hillingshaeuser
233c7f0a83
docs: Add default value for cloud_init in builders/proxmox ( #10445 )
2021-01-06 10:37:23 -05:00
Megan Marsh
4b0de7263e
Merge pull request #10412 from adeniyistephen/hlc-doc
...
Add hcl Example to openstack
2021-01-04 09:44:52 -08:00