diff --git a/xCAT-server/share/xcat/netboot/sles/service.sles11.postinstall b/xCAT-server/share/xcat/netboot/sles/service.sles11.postinstall index 69b45e027..5ccdd2668 100755 --- a/xCAT-server/share/xcat/netboot/sles/service.sles11.postinstall +++ b/xCAT-server/share/xcat/netboot/sles/service.sles11.postinstall @@ -33,6 +33,11 @@ END cat <>$installroot/etc/hosts +`getent hosts $HOSTNAME` +END + +cat <>$installroot/root/.bashrc +export XCATHOST=$HOSTNAME:3001 END