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-23 14:56:17 +0000 |
commit | ba8e2119c6fc5e4d9023fae558b6ec93a749af3d (patch) | |
tree | 6f098793ca5b8406f7fa9cad4b12c5bc751564e4 /google-compute-engine/usr/lib/systemd/system/setmtu@.service | |
parent | 888021ec62166ca95b3e587c744dcbcac42e7dc6 (diff) | |
download | definitions-ba8e2119c6fc5e4d9023fae558b6ec93a749af3d.tar.gz |
Add strata, systems and cluster morpologies for google compute engine.baserock/markdoffman/google-compute-engine-rebase
Add the ability to create baserock images compatible with google compute
engine. Add an example cluster morphology that does this.
Change-Id: I3ecaef8c760fe2c539969d2f86fc704b3232e5bb
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 |