()
Do this if the VM won't connect to the internet.
Do this if the VM won't connect to the internet.
Do this if the VM won t connect to the internet .
def restart_network():
    """
    Do this if the VM won't connect to the internet.
    """
    run("sudo /etc/init.d/networking restart")
def restart_network ( ) : run ( "sudo /etc/init.d/networking restart" )