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
end
new_file << line
new_file << "\n"
end
ips.each do |ip|