6c59e72c63
-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
8 lines
208 B
Bash
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
|