mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-04 16:30:52 +00:00
Merge pull request #1592 from dave-tucker/gcp-www
moby: enable internet access for GCP VM's
This commit is contained in:
@@ -211,6 +211,11 @@ func (g GCPClient) CreateInstance(name, image, zone, machineType string, replace
|
||||
NetworkInterfaces: []*compute.NetworkInterface{
|
||||
{
|
||||
Network: "global/networks/default",
|
||||
AccessConfigs: []*compute.AccessConfig{
|
||||
{
|
||||
Type: "ONE_TO_ONE_NAT",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
Metadata: &compute.Metadata{
|
||||
|
Reference in New Issue
Block a user