Merge "Debian KS: Update waiting for disks to become available"

This commit is contained in:
Zuul 2022-04-27 19:50:18 +00:00 committed by Gerrit Code Review
commit 02440b7f56

View File

@ -599,6 +599,10 @@ ilog "***********************************************"
ilog "** Pre Partition - Volume Remove & Wipe Disk **"
ilog "***********************************************"
ilog "Waiting for disks to be available"
udevadm settle --timeout=300 || report_failure_with_msg "udevadm settle failed"
ilog "Disks became available"
# Default traits to AIO if missing
if [ -z "${traits}" ] ; then
traits="controller,worker"
@ -702,10 +706,6 @@ HOOK_LABEL="pre-part"
# From pre_disk_setup_common.cfg
#####################################################
ilog "Waiting for disks to be available"
udevadm settle --timeout=300 || report_failure_with_msg "udevadm settle failed"
ilog "Disks became available"
if [ -n "$INSTDEV" ] ; then
instdev_by_path=$(get_by_path $INSTDEV)
if [ -z ${instdev_by_path} ] ; then