jbjohnso 6c59e72c63 -Attempt to setup yum.repos.d on installing nodes to reach install server
-Fix SLES issue where admin supplied distname was ignored


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-26 15:04:32 +00:00

8 lines
208 B
Bash

#!/bin/sh
for i in /install/postscripts/repos/$OSVER/$ARCH/*
do
TARGFILE=`basename $i`
TARGFILE=`echo $TARGFILE|sed -e s/.tmpl$//`
sed -e s!#INSTSERVER#!$MASTER! $i > /etc/yum/repos.d/$TARGFILE
done