mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-22 03:00:26 +00:00
fix for bug 4591: print a more reasonable message when no disk found on the node
This commit is contained in:
@@ -218,6 +218,12 @@ if [ -z "$instdisk" ]; then
|
||||
instdisk=$firstdisk
|
||||
fi
|
||||
fi
|
||||
|
||||
# Could not determine the install disk for whatever reason,
|
||||
# try the default /dev/sda
|
||||
if [ -z "$instdisk" ]; then
|
||||
instdisk="/dev/sda"
|
||||
fi
|
||||
|
||||
|
||||
modprobe ext4 >& /dev/null
|
||||
|
@@ -182,6 +182,12 @@ if [ -z "$instdisk" ]; then
|
||||
instdisk=$firstdisk
|
||||
fi
|
||||
fi
|
||||
# Could not determine the install disk for whatever reason,
|
||||
# try the default /dev/sda
|
||||
if [ -z "$instdisk" ]; then
|
||||
instdisk="/dev/sda"
|
||||
fi
|
||||
|
||||
modprobe ext4 >& /dev/null
|
||||
modprobe ext4dev >& /dev/null
|
||||
if grep ext4dev /proc/filesystems > /dev/null; then
|
||||
|
Reference in New Issue
Block a user