Skip to content

Commit fc0bb45

Browse files
authored
Merge pull request #597 from AkihiroSuda/fix-594
net/gvisor-tap-vsock: allow 169.254.169.254
2 parents d54e6bc + 1f963a3 commit fc0bb45

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/network/gvisortapvsock/gvisortapvsock.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ func (d *parentDriver) setupVirtualNetwork(gateway string) (*virtualnetwork.Virt
134134
// and allows for easier debugging and identification of the gateway interface.
135135
GatewayMacAddress: "5a:94:ef:e4:0c:dd",
136136
DHCPStaticLeases: map[string]string{},
137+
// Allow 169.254.169.254, as in other network drivers
138+
Ec2MetadataAccess: true,
137139
}
138140

139141
if !d.disableHostLoopback {

0 commit comments

Comments
 (0)