Added supporting cciss drives in iso kickstart
This commit is contained in:
parent
d6bde28b2f
commit
261ebad253
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user