diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index 257a2625b..9952169d5 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -1582,7 +1582,13 @@ sub dump_all_attribs_in_tabs } else { $values .= "$attrib=$val||"; if ($attrib =~ /^disable$/) { - $values .= "comments=$t"; + # Updated on 2017-03-22 for issue 2634 Quotes in tables' comment field break mypostscript + # The original line is : $values .= "comments=$t"; + # In order to fix issue 2634, change this line to : $values .= "comments="; + # To keep the free-style of comments and avoid the issues caused by special characters in + # the comments, the value of comments will not be appending to network related environment + # variables in mypostscript + $values .= "comments="; } } }