File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 55
55
echo_debug " Got distro hint arg $2 , looking for appropriate ks tree"
56
56
OLDSUFFIX=$( echo $2 | sed " s/\./-u/" )
57
57
NEWSUFFIX=$( echo $2 | sed " s/\./\\ \./" )
58
- KSPATH=$( find /var/satellite/rhn/kickstart/ -name \
59
- ks-rhel-${ARCH} -server-${RHELVERSION} * | grep -e " ${OLDSUFFIX} " -e " ${NEWSUFFIX} " )
58
+ KSPATH=$( find /var/satellite/rhn/kickstart/ -name \
59
+ " ks-rhel-${ARCH} -server-${RHELVERSION} *" | grep -e " ${OLDSUFFIX} " -e " ${NEWSUFFIX} " )
60
60
if [ -n " ${KSPATH} " ]
61
61
then
62
62
echo " Found kickstart tree path for release $2 : ${KSPATH} "
67
67
else
68
68
echo " No release version passed, trying to find latest kickstart tree path"
69
69
KSPATH=$( find /var/satellite/rhn/kickstart/ -name \
70
- ks-rhel-${ARCH} -server-${RHELVERSION} -${RHELVERSION} * | sort -n | tail -n1)
70
+ " ks-rhel-${ARCH} -server-${RHELVERSION} -${RHELVERSION} *" | sort -n | tail -n1)
71
71
fi
72
72
echo_debug " spacecmd -- distribution_create -n ${CLONECH} -p ${KSPATH} \
73
73
-b ${CLONECH} -t rhel_${RHELVERSION} "
74
74
spacecmd -- distribution_create -n ${CLONECH} -p ${KSPATH} -b ${CLONECH} \
75
75
-t rhel_${RHELVERSION}
76
-
77
-
You can’t perform that action at this time.
0 commit comments