Wait longer for root device to become available

On some systems, it can take longer than 10 seconds for the root
disk to be detected.  Because enterprise hardware.  Increase the
wait time to 60 seconds so we don't incorrectly fail due to a
missing root device.

Change-Id: I4f67ef0295af8f2ae783fe3aea347b41987c6a66
This commit is contained in:
Ben Nemec 2015-06-17 11:53:57 -05:00
parent 19f769f049
commit 05764de6e7

View File

@ -113,7 +113,7 @@ if [[ $ROOT_DEVICE ]]; then
else
t=0
while ! target_disk=$(find_disk "$DISK"); do
if [ $t -eq 10 ]; then
if [ $t -eq 60 ]; then
break
fi
t=$(($t + 1))