From 24a2928e03cf33bf31ca65de0e04b0220313d0bf Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 4 Jun 2013 07:43:19 +0000 Subject: [PATCH] service node pool supports for sles git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/install/scripts/pre.sles | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/share/xcat/install/scripts/pre.sles b/xCAT-server/share/xcat/install/scripts/pre.sles index 51579f8a8..055fcd393 100644 --- a/xCAT-server/share/xcat/install/scripts/pre.sles +++ b/xCAT-server/share/xcat/install/scripts/pre.sles @@ -170,6 +170,10 @@ if [ -r "/tmp/partitionfile" ]; then sed -e '//{N;N;s!.*!'$con'!}' /tmp/profile/autoinst.xml > /tmp/profile/modified1.xml sed -e 's!xcattempspace! !g' /tmp/profile/modified1.xml > /tmp/profile/modified.xml fi + +export nextserver=`cat /proc/cmdline | grep http | head -n 1 | cut -d / -f 3 | cut -d : -f 1` +cp /tmp/profile/modified.xml /tmp/profile/modified1.xml +sed -e 's!!#INSTALL_SOURCES_IN_PRE#!' /tmp/profile/modified1.xml > /tmp/profile/modified.xml ]]>