File tree Expand file tree Collapse file tree
sles/src/stack/images/common/sles-stacki.img-patches
usr/lib/YaST2/startup/First-Stage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -494,6 +494,11 @@ def main():
494494 else :
495495 break
496496
497+ # TODO: right now, this is the only place that exit()'s.
498+ # F08-stacki looks specifically for '1' for the case of 'no disks found'
499+ if not host_disks :
500+ sys .exit (1 )
501+
497502 #
498503 # if fstab is corrupted, get_host_fstab() will throw and exception.
499504 # catch it and just report an empty fstab
Original file line number Diff line number Diff line change 9999 ' {"state": "nukedisk failed - check console or reinstall with halt_install_on_error=False"}'
100100fi
101101
102- #
103102# then configure the partitions
104- #
105103/opt/stack/bin/output-partition.py > /tmp/partition.xml
104+ if [ $? -eq 1 ]
105+ then
106+ halt_install " Unable to find disks to create partitioning scheme on." \
107+ ' {"state": "partition config failed - no disks found"}'
108+ fi
106109
107110# Configure the bootloader
108111/opt/stack/bin/output-bootloader.py > /tmp/bootloader.xml
You can’t perform that action at this time.
0 commit comments