diff --git a/xCAT-server/lib/perl/xCAT/Template.pm b/xCAT-server/lib/perl/xCAT/Template.pm
index 0c906276b..3f94ad6ee 100644
--- a/xCAT-server/lib/perl/xCAT/Template.pm
+++ b/xCAT-server/lib/perl/xCAT/Template.pm
@@ -302,7 +302,7 @@ sub windows_account_data {
} else {
$domain = $::XCATSITEVALS{domain};
}
- $useraccountxml.="\n\nAdministrators\nDomain Admins\n\n".$domain."\n\n\n";
+ $useraccountxml.="\r\n\r\nAdministrators\r\nDomain Admins\r\n\r\n".$domain."\r\n\r\n\r\n";
return $useraccountxml;
}
#this will examine table data, decide *if* a Microsoft-Windows-UnattendedJoin is warranted
@@ -335,7 +335,7 @@ sub windows_join_data {
} else {
$domain = $::XCATSITEVALS{domain};
}
- my $componentxml = ''."\n\n".$domain."\n";
+ my $componentxml = ''."\r\n\r\n".$domain."\r\n";
if ($ou) {
$componentxml .= "".$ou."\n";
}
@@ -364,9 +364,9 @@ sub windows_join_data {
}
}
unless ($username and $password) { die "Missing active directory admin auth data from passwd table" }
- $componentxml .= "".$domain."\n".$username."\n".$password."\n\n";
+ $componentxml .= "".$domain."\r\n".$username."\r\n".$password."\r\n\r\n";
}
- $componentxml .= "\n\n";
+ $componentxml .= "\r\n\r\n";
}
sub get_win_prodkey {