summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-14 20:58:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-14 20:58:40 (GMT)
commit5aad939bf570591f61e59f0dab404be36a52cf8b (patch)
treead09f110ec92020cca41e3658f7633f0572786f7
parent118dc4012d2fa8f62dc55b9790c463e26bba842c (diff)
downloadlinhes_pkgbuild-5aad939bf570591f61e59f0dab404be36a52cf8b.zip
linhes_pkgbuild-5aad939bf570591f61e59f0dab404be36a52cf8b.tar.gz
linhes_pkgbuild-5aad939bf570591f61e59f0dab404be36a52cf8b.tar.bz2
linhes-config: fix problem which static ip's and network configuration.
The netmask needed to be split.
-rwxr-xr-xabs/core-testing/LinHES-config/PKGBUILD2
-rwxr-xr-xabs/core-testing/LinHES-config/mv_network.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index 36a9184..c000c02 100755
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=2.0
-pkgrel=11
+pkgrel=13
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev )
pkgdesc="Install and configure your system"
depends=(bc libstatgrab mysql-python expect curl dnsutils parted sg3_utils nmbscan system-templates rsync python-parted ddcxinfo)
diff --git a/abs/core-testing/LinHES-config/mv_network.py b/abs/core-testing/LinHES-config/mv_network.py
index 3978f95..ae3aaf7 100755
--- a/abs/core-testing/LinHES-config/mv_network.py
+++ b/abs/core-testing/LinHES-config/mv_network.py
@@ -209,7 +209,7 @@ def setup_interface(netdev,systemconfig):
mv_common.runcmd(cmd)
cmd = '''echo "default via %s" > %s/%s/ipv4route''' %(netinfo["GW"], etcnetdir, netdev)
mv_common.runcmd(cmd)
- cmd = '''echo "%s%s" > %s/%s/ipv4address ''' %(netinfo["ip"], netinfo["netmask"], etcnetdir, netdev)
+ cmd = '''echo "%s%s" > %s/%s/ipv4address ''' %(netinfo["ip"], netinfo["netmask"].split()[0], etcnetdir, netdev)
mv_common.runcmd(cmd)
setup_nameserver(netinfo["dns"])