Add an /etc/hosts entry for google's metadata server.

gcloud was reaching out to this address which was causing delays. Pointing it to localhost to speed the failure up.
This commit is contained in:
Tom Alexander
2026-07-14 11:53:29 -04:00
parent 40b8742a80
commit 11d8b93551

View File

@@ -56,6 +56,7 @@ in
# TODO: The 127.0.0.1 address should probably be moved to a host-specific file.
networking.extraHosts = ''
127.0.0.1 ${config.networking.hostName}.home.arpa
127.0.0.3 metadata.google.internal
10.216.1.32 homeserver
fdfd:5e8a:ee2d::1:32 homeserver
10.216.1.6 media