diff options
Diffstat (limited to 'google-compute-engine/usr/lib/systemd/system')
-rw-r--r-- | google-compute-engine/usr/lib/systemd/system/setmtu@.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/google-compute-engine/usr/lib/systemd/system/setmtu@.service b/google-compute-engine/usr/lib/systemd/system/setmtu@.service new file mode 100644 index 00000000..0425025d --- /dev/null +++ b/google-compute-engine/usr/lib/systemd/system/setmtu@.service @@ -0,0 +1,10 @@ +[Unit] +Description=Set mtu on device +Before=network.target + +[Service] +Type=oneshot +ExecStart=/sbin/ip link set dev %i mtu 1460 + +[Install] +WantedBy=multi-user.target |