2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-27 14:51:10 +00:00

polish it

This commit is contained in:
bybai
2017-01-04 21:11:34 -05:00
parent 9432dbb5c8
commit fcc08f1e13

View File

@@ -1370,7 +1370,7 @@ sub update_namedconf {
flock($newnameconf, LOCK_EX);
seek($newnameconf, 0, 0);
truncate($newnameconf, 0);
print $newnameconf "\#This file is generated by xCAT.\n";
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";
for my $l (@newnamed) { print $newnameconf $l; }
flock($newnameconf, LOCK_UN);
close($newnameconf);