Avant, réduire le disque d'une VM allumée affichait seulement « Éteignez la VM » puis abandonnait. Désormais on DEMANDE (o/N) si on veut l'éteindre et réessayer : - _qemu_shutdown_wait : arrêt ACPI gracieux (virsh shutdown), attente jusqu'à « shut off » (timeout 120s), puis propose un arrêt forcé (virsh destroy) si l'arrêt traîne. - _qemu_domname : résout un ID numérique en nom canonique — l'ID disparaît une fois la VM éteinte, le polling doit utiliser le nom. Validé : domname(14) -> erplibre-ubuntu-2004. - Tous les nouveaux prompts affichent la valeur par défaut (o/N). Une fois éteinte, la réduction (qemu-img resize --shrink) se poursuit automatiquement après confirmation du risque. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| database_manager.py | ||
| kdbx_manager.py | ||
| logo_ascii.txt | ||
| qemu_install_monitor.py | ||
| README.base.md | ||
| README.fr.md | ||
| README.md | ||
| source_todo.sh | ||
| todo.json | ||
| todo.py | ||
| todo_example.json | ||
| todo_file_browser.py | ||
| todo_i18n.py | ||
| todo_telemetry.py | ||
| todo_upgrade.py | ||
| version_manager.py | ||
TODO is an assistant robot to use ERPLibre
Execute it with ./script/todo/todo.py or make todo.
For a new project, copy todo_example.json to private/todo/todo_override.json | private/todo/todo_override_private.json and edit it.