diff options
| author | Martin Schwenke <martin@meltin.net> | 2008-09-17 23:08:19 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2008-09-17 23:08:19 +1000 |
| commit | 8dac6acf9c42ff25ab4354258e5ac1027c224dac (patch) | |
| tree | aeb57e21beb0bfaa02bc5e21dfd757268ad82f11 /base/root/scripts | |
| parent | e4278f3e9556b21b6e05cc5146e58dd39a3f59de (diff) | |
Move the forced network configuration from postinstall.sh to a
separate template that only gets included in the kickstart templates.
Take openldap-devel and -scsi-target-utils out of EXTRA_PACKAGES - you
can't change a previous selection. setup_base needs to call
setup_indirects, since postinstall.sh needs YUM_REPOS. Add a 2nd
network interface to install.xml (and bootbase.xml), so we can keep
the 2nd network interface specified in the kickstart template. Fix
some stuff in the kickstart templates, comment out some things that
don't work, add AUTOCLUSTER_POSTINSTALL.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'base/root/scripts')
| -rwxr-xr-x[-rw-r--r--] | base/root/scripts/postinstall.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/base/root/scripts/postinstall.sh b/base/root/scripts/postinstall.sh index 51dec67..a6730c4 100644..100755 --- a/base/root/scripts/postinstall.sh +++ b/base/root/scripts/postinstall.sh @@ -6,28 +6,6 @@ cat << EOF > /etc/yum.repos.d/SOFS.repo @@YUM_REPOS@@ EOF - -# install the SoFS packages via a proxy on the host -[ "@@WEBPROXY@@" = "" ] || { - http_proxy=@@WEBPROXY@@ - export http_proxy -} - -echo "Using web proxy: \$http_proxy" - -# force up the network, as kickstart may not have started it -/sbin/ifconfig eth0 @@IPBASE@@.0.@@FIRSTIP@@ up -/sbin/route add default gw @@GATEWAY@@ -/sbin/ifconfig -a -/sbin/route -n - - -cat << EOF > /etc/resolv.conf -domain @@DOMAIN@@ -search @@DNSSEARCH@@ -nameserver @@NAMESERVER@@ -EOF - echo "Updating from SoFS repositories" yum -y update |
