FIX: script was missing newlines when generating hosts
This commit is contained in:
parent
7dbf709467
commit
6acabec423
|
@ -34,6 +34,7 @@ def swap_address(hosts, name, ips)
|
|||
next if hostname == name
|
||||
end
|
||||
new_file << line
|
||||
new_file << "\n"
|
||||
end
|
||||
|
||||
ips.each do |ip|
|
||||
|
|
Loading…
Reference in New Issue