Small updates on the googlecompute website docs

This commit is contained in:
Adrien Delorme 2018-08-17 12:41:37 +02:00 committed by GitHub
parent f00260e293
commit 3ea8f9f50d
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
Before you can provision using the winrm communicator, you need to navigate to
https://console.cloud.google.com/networking/firewalls/list to allow traffic
Before you can provision using the winrm communicator, you need to allow traffic
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
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