how to make the slave use NetworkManager