mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	fix 4764,support centos7 and rhelhpc7 stateless
This commit is contained in:
		| @@ -1704,6 +1704,14 @@ sub using_systemd { | ||||
|         if ($1 >= 7) { | ||||
|             return 1; | ||||
|         } | ||||
|     }elsif ($os =~/centos(\d+)/){ | ||||
|         if($1 >= 7){ | ||||
|             return 1; | ||||
|         } | ||||
|     }elsif ($os =~/rhelhpc(\d+)/){ | ||||
|         if($1 >= 7){ | ||||
|             return 1; | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     return 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user