From 9d8ddd465d03b0a6889aa7fd643c8ebca76dda13 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Fri, 11 Jul 2014 20:31:57 +0300 Subject: [PATCH] Google Compute Image needs the interface to be named eth0 for google tools to work properly --- nixos/modules/virtualisation/google-compute-image.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix index d55b74202436..de5e3f5ced47 100644 --- a/nixos/modules/virtualisation/google-compute-image.nix +++ b/nixos/modules/virtualisation/google-compute-image.nix @@ -119,6 +119,8 @@ in 169.254.169.254 metadata.google.internal metadata ''; + networking.usePredictableInterfaceNames = false; + systemd.services.fetch-root-authorized-keys = { description = "Fetch authorized_keys for root user";