Merge pull request #6598 from hashicorp/docs_gcp_winrm_update

Small updates on the googlecompute website docs
This commit is contained in:
Rickard von Essen 2018-08-17 13:39:12 +02:00 committed by GitHub
commit 3b535cbcbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -124,9 +124,13 @@ is assumed to be the path to the file containing the JSON.
### Windows Example ### Windows Example
Before you can provision using the winrm communicator, you need to navigate to Before you can provision using the winrm communicator, you need to allow traffic
https://console.cloud.google.com/networking/firewalls/list to allow traffic
through google's firewall on the winrm port (tcp:5986). through google's firewall on the winrm port (tcp:5986).
You can do so using the gcloud command.
```
gcloud compute firewall-rules create allow-winrm --allow tcp:5986
```
Or alternatively by navigating to https://console.cloud.google.com/networking/firewalls/list.
Once this is set up, the following is a complete working packer config after Once this is set up, the following is a complete working packer config after
setting a valid `account_file` and `project_id`: setting a valid `account_file` and `project_id`:
@ -153,6 +157,7 @@ setting a valid `account_file` and `project_id`:
] ]
} }
``` ```
This build can take up to 15 min.
### Nested Hypervisor Example ### Nested Hypervisor Example