fixed set-network to work with ubuntu lts 14.04, as they changed the behavior of service networking restart.