in linux/install_gpu_driver.py [0:0]
def reboot():
"""
Reboots the system.
"""
print_out(
"The system needs to be rebooted to complete the installation process. "
"The process will be continued after the reboot."
)
print_out("Rebooting now.")
run("reboot")
sys.exit(0)