FIX: script was missing newlines when generating hosts

This commit is contained in:
Sam 2018-11-28 15:18:08 +11:00
parent 7dbf709467
commit 6acabec423

View File

@ -34,6 +34,7 @@ def swap_address(hosts, name, ips)
next if hostname == name next if hostname == name
end end
new_file << line new_file << line
new_file << "\n"
end end
ips.each do |ip| ips.each do |ip|