2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +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:
ertaozh 2015-01-05 07:03:52 -05:00
parent c7b16d52e1
commit 3fc42a55fb

View File

@ -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