From cfa71e3f2c7c87d3c761e04fb6b2f027987185c0 Mon Sep 17 00:00:00 2001 From: jjhua Date: Fri, 31 May 2013 08:51:20 +0000 Subject: [PATCH] service node pool supports for system X rhels6.x git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/install/scripts/pre.rh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xCAT-server/share/xcat/install/scripts/pre.rh b/xCAT-server/share/xcat/install/scripts/pre.rh index c0fc856b4..a0d8675c6 100644 --- a/xCAT-server/share/xcat/install/scripts/pre.rh +++ b/xCAT-server/share/xcat/install/scripts/pre.rh @@ -191,3 +191,10 @@ echo "part swap --recommended --ondisk $instdisk" >> /tmp/partitioning echo "part / --size 1 --grow --ondisk $instdisk --fstype $FSTYPE" >> /tmp/partitioning #XCA_PARTITION_SCRIPT# + +# The following code is to generate the repository for the installation +cat /proc/cmdline + +export nextserver=`cat /proc/cmdline | grep http | head -n 1 | cut -d / -f 3 | cut -d : -f 1` +#INSTALL_SOURCES_IN_PRE# +