diff --git a/xCAT-server/lib/perl/xCAT/Template.pm b/xCAT-server/lib/perl/xCAT/Template.pm index 6bdeb4d38..d60964fe0 100644 --- a/xCAT-server/lib/perl/xCAT/Template.pm +++ b/xCAT-server/lib/perl/xCAT/Template.pm @@ -337,7 +337,7 @@ sub windows_join_data { } my $componentxml = ''."\r\n\r\n".$domain."\r\n"; if ($ou) { - $componentxml .= "".$ou."\n"; + $componentxml .= "".$ou."\r\n"; } if ($prejoin) { my $adinfo = machinepassword(wantref=>1); #TODO: needs rearranging in non prejoin case