From 530c0d755ca451028cbbcfa9df301e7ecd3a5c73 Mon Sep 17 00:00:00 2001 From: vallard Date: Thu, 21 May 2009 20:20:36 +0000 Subject: [PATCH] got rid of remoteshell post install so my stuff would work... git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/install/scripts/post.esx | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.esx b/xCAT-server/share/xcat/install/scripts/post.esx index 226ab5d8d..799ccddcb 100644 --- a/xCAT-server/share/xcat/install/scripts/post.esx +++ b/xCAT-server/share/xcat/install/scripts/post.esx @@ -2,16 +2,6 @@ # Setup hostname # echo "post scripts" >/root/post.log -export HOSTNAME=#TABLE:nodelist:THISNODE:node# -LAST=$(echo $HOSTNAME | awk -Fhab '{print $2}' | sed 's/^0//g') -IP=192.168.99.$LAST -export $IP -echo "HOSTNAME: $HOSTNAME IP: $IP" >>/root/post.log -echo "Changing switch" >>/root/post.log -# -# Setup hostname -# -echo "post scripts" >/root/post.log export PRINIC=#TABLE:noderes:THISNODE:primarynic# if [ -z "$PRINIC" ] then @@ -38,6 +28,9 @@ export MASTER_IPS="#XCATVAR:XCATMASTER#" export MASTER="#XCATVAR:XCATMASTER#" cd /tmp mkdir -p /xcatpost +service portmap start +ifconfig +cat /etc/resolv.conf mount $MASTER_IP:/install/postscripts /xcatpost cd /xcatpost export PATH=/xcatpost:$PATH @@ -46,9 +39,9 @@ export OSVER=#TABLE:nodetype:THISNODE:os# export ARCH=#TABLE:nodetype:THISNODE:arch# syslog remoteshell -setupntp +#setupntp this has been added to setupesx... setupesx $HOSTNAME -updateflag.awk $MASTER 3002 +updateflag.awk $MASTER #TABLE:site:key=xcatiport:value# umount /xcatpost cd / exit 0