From b9d8138395af47ff7c260a1c726ccde0ad19d997 Mon Sep 17 00:00:00 2001 From: immarvin Date: Fri, 12 Aug 2016 02:52:03 -0400 Subject: [PATCH] fix issue Nodeset for Ubuntu OS displays warning, but we should be more specific and only print on conditions where it might fail #1097 --- xCAT-server/lib/xcat/plugins/debian.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/debian.pm b/xCAT-server/lib/xcat/plugins/debian.pm index 927886864..412e8a87f 100644 --- a/xCAT-server/lib/xcat/plugins/debian.pm +++ b/xCAT-server/lib/xcat/plugins/debian.pm @@ -891,7 +891,7 @@ sub mkinstall { $kcmdline .= "n8r"; } } else { - $callback->({ warning => ["rcons my not work since no serialport specified"], }); + $callback->({ warning => ["rcons may not work since no serialport is specified for $node"], }); } # need to add these in, otherwise aptitude will ask questions @@ -1548,7 +1548,7 @@ sub mknetboot } else { $callback->( { - warning => ["rcons my not work since no serialport specified"], + warning => ["rcons may not work since no serialport is specified for $node"], } ); }