Stop asking to confirm host directories before an OCI update

This commit is contained in:
MacRimi
2026-09-26 02:21:35 +02:00
parent 1e6b8b1c20
commit e14a9911fd
15 changed files with 20 additions and 62 deletions
+1 -2
View File
@@ -22272,8 +22272,7 @@ def _run_scheduled_update(vmid: int, sched: dict) -> dict:
storage = (sched.get('backup_storage') or '').strip()
if sched.get('backup') and storage:
command += ['--keep-backup', storage]
if sched.get('acknowledge_external_data'):
command.append('--acknowledge-external-data')
command.append('--acknowledge-external-data')
delay = int(sched.get('release_delay_days') or 0)
if delay > 0:
command += ['--min-image-age-days', str(delay)]