diff --git a/xCAT-server/lib/xcat/plugins/grub2.pm b/xCAT-server/lib/xcat/plugins/grub2.pm index c98679b05..b1e5becdc 100644 --- a/xCAT-server/lib/xcat/plugins/grub2.pm +++ b/xCAT-server/lib/xcat/plugins/grub2.pm @@ -289,7 +289,7 @@ sub setstate { my $os_version = $nodeos; $os_version =~ s/sles//i; # Strip sles if there $os_version =~ s/sle//i; # String sle if there - if ($os_version ge "15") { + if ($os_version >= "15") { # Make sure for SLES15 or higher can still boot # from disk in "standby" state unlink("grub2-$node");