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