summary refs log tree commit diff
path: root/nixos/modules/virtualisation/google-compute-image.nix
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom@yandex.ru>2014-07-11 20:31:57 +0300
committerEvgeny Egorochkin <phreedom@yandex.ru>2014-07-12 08:47:03 +0300
commit9d8ddd465d03b0a6889aa7fd643c8ebca76dda13 (patch)
tree055e241bcd61872e93f302679f19f5e9637d2c7b /nixos/modules/virtualisation/google-compute-image.nix
parent3b2609deec84ec71ced729f128aa9d549dcfa4f6 (diff)
downloadnixlib-9d8ddd465d03b0a6889aa7fd643c8ebca76dda13.tar
nixlib-9d8ddd465d03b0a6889aa7fd643c8ebca76dda13.tar.gz
nixlib-9d8ddd465d03b0a6889aa7fd643c8ebca76dda13.tar.bz2
nixlib-9d8ddd465d03b0a6889aa7fd643c8ebca76dda13.tar.lz
nixlib-9d8ddd465d03b0a6889aa7fd643c8ebca76dda13.tar.xz
nixlib-9d8ddd465d03b0a6889aa7fd643c8ebca76dda13.tar.zst
nixlib-9d8ddd465d03b0a6889aa7fd643c8ebca76dda13.zip
Google Compute Image needs the interface to be named eth0 for google tools to work properly
Diffstat (limited to 'nixos/modules/virtualisation/google-compute-image.nix')
-rw-r--r--nixos/modules/virtualisation/google-compute-image.nix2
1 files changed, 2 insertions, 0 deletions
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";