diff options
author | Mark Doffman <mark.doffman@codethink.co.uk> | 2015-04-14 20:23:30 +0000 |
---|---|---|
committer | Mark Doffman <mark.doffman@codethink.co.uk> | 2015-04-17 16:55:47 +0000 |
commit | ce7ea2923f1dc8c8fbd5600f14e356ffed99072b (patch) | |
tree | a57acda310648685cbf4c7c4aa9d21bea974c754 /google-compute-engine/usr/lib/systemd/system/setmtu@.service | |
parent | 2c013960069f9080589f2e61bd616a437e7a5264 (diff) | |
download | definitions-baserock/markdoffman/google-compute-engine.tar.gz |
Add strata, systems and cluster morpologies for google compute engine.baserock/markdoffman/google-compute-engine
Add the ability to create baserock images compatible with google compute
engine. Add an example cluster morphology that does this.
Diffstat (limited to 'google-compute-engine/usr/lib/systemd/system/setmtu@.service')
-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 |