2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

polish it

This commit is contained in:
bybai 2017-01-05 21:16:10 -05:00
parent fcc08f1e13
commit 25de1b0129

View File

@ -1370,7 +1370,7 @@ sub update_namedconf {
flock($newnameconf, LOCK_EX);
seek($newnameconf, 0, 0);
truncate($newnameconf, 0);
print $newnameconf "\#If there is no this file, it is generated by any \"makedns\" command in xCAT. Only \"makedns [-n|--new] [noderange]\" can re-create it.\n";
print $newnameconf "\#generated by xCAT: /opt/xcat/sbin/makedns -n \n";
for my $l (@newnamed) { print $newnameconf $l; }
flock($newnameconf, LOCK_UN);
close($newnameconf);