update hosts and iptables for systemd compat