Nvidia driver 550 install flag | auto pull selftest #2

Merged
clore merged 5 commits from xfs into main 2024-12-11 00:24:01 +00:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 4f1807e3ab - Show all commits

View File

@ -1,5 +1,6 @@
from lib import config as config_module
from lib import docker_interface
from lib import background_job
from lib import utils
import asyncio
import aiofiles
@ -41,7 +42,9 @@ async def run_update(is_hive = False):
break
if not order_running:
if is_hive:
background_job.temporarly_disable(14400)
driver_update_code, driver_update_stdout, driver_update_stderr = await utils.async_run_command("nvidia-driver-update http://45.12.132.34/NVIDIA-Linux-x86_64-550.135.run --force", 14400, non_interactive_env_hive)
background_job.enable()
if driver_update_code == 0:
async with aiofiles.open(config.restart_docker_flag_file, mode='w') as file:
await file.write("")