mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	Improve version test operator
This commit is contained in:
		| @@ -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"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user