Fix restart_server, move attach_ips into ready_machine