Added supporting cciss drives in iso kickstart

This commit is contained in:
Vladimir Kozhukalov 2013-06-10 18:24:57 +04:00 committed by default
parent d6bde28b2f
commit 261ebad253

View File

@ -18,9 +18,10 @@ clearpart --all --initlabel
# hard drives
drives=""
for drv in `ls -1 /sys/block | grep "sd\|hd"`; do
for drv in `ls -1 /sys/block | grep "sd\|hd\|vd\|cciss"`; do
if (grep -q 0 /sys/block/${drv}/removable); then
drives="${drives} ${drv}"
d=`echo ${drv} | sed -e 's/!/\//'`
drives="${drives} ${d}"
fi
done