summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-04-08 09:04:30 +0100
committerGitHub <noreply@github.com>2018-04-08 09:04:30 +0100
commite0bfb09211595d5d1c92e0d2506484b2f23c38cc (patch)
tree42d59bb2a60073a673db003b82377825ca096aea
parent6593ce7ef91578df876df5d50ef7c150d5396d61 (diff)
parentfc6ab8dfa7b7cb99e3b44994ebe76f9b637ec2c6 (diff)
downloadnixlib-e0bfb09211595d5d1c92e0d2506484b2f23c38cc.tar
nixlib-e0bfb09211595d5d1c92e0d2506484b2f23c38cc.tar.gz
nixlib-e0bfb09211595d5d1c92e0d2506484b2f23c38cc.tar.bz2
nixlib-e0bfb09211595d5d1c92e0d2506484b2f23c38cc.tar.lz
nixlib-e0bfb09211595d5d1c92e0d2506484b2f23c38cc.tar.xz
nixlib-e0bfb09211595d5d1c92e0d2506484b2f23c38cc.tar.zst
nixlib-e0bfb09211595d5d1c92e0d2506484b2f23c38cc.zip
Merge pull request #38605 from NixOS/gc-mtu
google-compute-image: provide correct MTU
-rw-r--r--nixos/modules/virtualisation/google-compute-image.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix
index 559c30b9416a..0b6bec786da4 100644
--- a/nixos/modules/virtualisation/google-compute-image.nix
+++ b/nixos/modules/virtualisation/google-compute-image.nix
@@ -75,6 +75,9 @@ in
 
   networking.usePredictableInterfaceNames = false;
 
+  # GC has 1460 MTU
+  networking.interfaces.eth0.mtu = 1460;
+
   # allow the google-accounts-daemon to manage users
   users.mutableUsers = true;
   # and allow users to sudo without password