summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-10-20 17:02:54 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-10-20 17:02:54 (GMT)
commit4c7427ac2a34fd0cf47f2ef83372d8d2c77a5fff (patch)
treeaab9b2cb06e5749de685257097bd1c8e6fcba28e
parentbf92c78f459a0856adafa065317cb25a39444ccb (diff)
downloadlinhes_pkgbuild-4c7427ac2a34fd0cf47f2ef83372d8d2c77a5fff.zip
linhes_pkgbuild-4c7427ac2a34fd0cf47f2ef83372d8d2c77a5fff.tar.gz
linhes_pkgbuild-4c7427ac2a34fd0cf47f2ef83372d8d2c77a5fff.tar.bz2
LinHES-config: mv_network.py: blank mtu set to default of 1500
-rwxr-xr-xabs/core/LinHES-config/PKGBUILD4
-rwxr-xr-xabs/core/LinHES-config/mv_network.py2
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):