Merge "Debian KS: Update waiting for disks to become available"
This commit is contained in:
commit
02440b7f56
@ -599,6 +599,10 @@ ilog "***********************************************"
|
|||||||
ilog "** Pre Partition - Volume Remove & Wipe Disk **"
|
ilog "** Pre Partition - Volume Remove & Wipe Disk **"
|
||||||
ilog "***********************************************"
|
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
|
# Default traits to AIO if missing
|
||||||
if [ -z "${traits}" ] ; then
|
if [ -z "${traits}" ] ; then
|
||||||
traits="controller,worker"
|
traits="controller,worker"
|
||||||
@ -702,10 +706,6 @@ HOOK_LABEL="pre-part"
|
|||||||
# From pre_disk_setup_common.cfg
|
# 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
|
if [ -n "$INSTDEV" ] ; then
|
||||||
instdev_by_path=$(get_by_path $INSTDEV)
|
instdev_by_path=$(get_by_path $INSTDEV)
|
||||||
if [ -z ${instdev_by_path} ] ; then
|
if [ -z ${instdev_by_path} ] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user