summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-01-30 16:29:07 +1100
committerAmitay Isaacs <amitay@gmail.com>2012-01-30 16:29:07 +1100
commit598d4911ba449380213d9ea99e81215fc6b8b8d5 (patch)
tree6a3921394e93ff43762bf475416db08fc404c0ec /templates
parentb23320928c9efe7563e16fb9ffa1ca41a85a638d (diff)
downloadautocluster-598d4911ba449380213d9ea99e81215fc6b8b8d5.tar.gz
autocluster-598d4911ba449380213d9ea99e81215fc6b8b8d5.tar.xz
autocluster-598d4911ba449380213d9ea99e81215fc6b8b8d5.zip
Specify netmask (/24) when configuring interface
Diffstat (limited to 'templates')
-rw-r--r--templates/basic-postinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/basic-postinstall.sh b/templates/basic-postinstall.sh
index b380d42..a8a2217 100644
--- a/templates/basic-postinstall.sh
+++ b/templates/basic-postinstall.sh
@@ -7,7 +7,7 @@
echo "Using web proxy: \$http_proxy"
# force up the network, as kickstart may not have started it
-/sbin/ifconfig eth0 @@IPBASE@@.@@IPNET0@@.@@FIRSTIP@@ up
+/sbin/ifconfig eth0 @@IPBASE@@.@@IPNET0@@.@@FIRSTIP@@ netmask 255.255.255.0 up
/sbin/route add default gw @@GATEWAY@@
/sbin/ifconfig -a
/sbin/route -n