mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	fix bug 4455: nodeset return error for ubuntu if no serialport attribute set, add warning information if no serialport attribute specified
This commit is contained in:
		| @@ -848,6 +848,12 @@ sub mkinstall | ||||
|                 if ($sent->{serialflow} =~ /(hard|cts|ctsrts)/){ | ||||
|                     $kcmdline .= "n8r"; | ||||
|                 } | ||||
|             } else { | ||||
|                 $callback->( | ||||
|                             { | ||||
|                              warning => ["rcons my not work since no serialport specified"], | ||||
|                             } | ||||
|                             ); | ||||
|             } | ||||
|             #$kcmdline .= " noipv6"; | ||||
|             # add the addkcmdline attribute  to the end | ||||
| @@ -1507,6 +1513,12 @@ sub mknetboot | ||||
|             { | ||||
|                 $kcmdline .= "n8r"; | ||||
|             } | ||||
|         } else { | ||||
|                 $callback->( | ||||
|                             { | ||||
|                              warning => ["rcons my not work since no serialport specified"], | ||||
|                             } | ||||
|                             ); | ||||
|         } | ||||
|         # add the addkcmdline attribute  to the end | ||||
|         # of the command, if it exists | ||||
|   | ||||
		Reference in New Issue
	
	Block a user