From 4c7427ac2a34fd0cf47f2ef83372d8d2c77a5fff Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 20 Oct 2014 17:02:54 +0000
Subject: LinHES-config: mv_network.py: blank mtu set to default of 1500

---
 abs/core/LinHES-config/PKGBUILD      | 4 ++--
 abs/core/LinHES-config/mv_network.py | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index f42ded1..cc90500 100755
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=8.2
-pkgrel=11
+pkgrel=12
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
 pkgdesc="Install and configure your system"
 depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -161,7 +161,7 @@ md5sums=('af15ebdfbbc3442626a807569a0db2a4'
          'b845de3e05c1734cce4b9ac5e8f1baaf'
          '885fcb99a0179d9704385e14aefd7af6'
          '8b7dce4a3a0a281fa6656aa8781a648e'
-         '8903d2e17a6955ba59e6f17a65bfc082'
+         '4b10fff21a0274f950f97f2b61e92463'
          '824e49d9b01fed295c704ab68908b464'
          'fe5e31b833cc6707209e9d656b6eb53c'
          '71b4860bbc8b7d94311acee7efa7269c'
diff --git a/abs/core/LinHES-config/mv_network.py b/abs/core/LinHES-config/mv_network.py
index cf01c31..a4ad0c9 100755
--- a/abs/core/LinHES-config/mv_network.py
+++ b/abs/core/LinHES-config/mv_network.py
@@ -356,6 +356,8 @@ def setup_interface(netdev,systemconfig):
         logging.info("    Using default mtu value")
         cmd = '''sed -i '/^mtu.*$/d' %s/%s/iplink''' %(etcnetdir,netdev)
         mv_common.runcmd(cmd)
+        cmd = ''' echo "mtu 1500" >> %s/%s/iplink''' %(etcnetdir,netdev)
+        mv_common.runcmd(cmd)
 
 
 def change_iface_state(netdev, state):
-- 
cgit v0.12

