erplibre/script
Mathieu Benoit 7bd44d21a9 [FIX] script qemu: téléchargement complet vérifié + arm64 sans Secure Boot
Une VM arm64 (Fedora aarch64 émulée) restait FIGÉE au firmware (CPU ~2 %,
aucune IP, seed non appliqué). Deux causes :

1) Téléchargement tronqué non détecté. _download_one ne vérifiait pas que le
   nombre d'octets reçus == Content-Length. Une connexion coupée en cours
   laissait un .part TRONQUÉ, validé comme « complet » (tmp.replace) : un
   qcow2 valide mais VIDE (128 Kio, juste l'en-tête, 5 Gio virtuels) ->
   disque sans OS -> pas de boot. Pire, ce cache corrompu était réutilisé.
   Fix : contrôle de complétude (done < total -> exception -> miroir suivant
   ou échec net, jamais de commit d'un fichier tronqué).

2) arm64 : « --boot uefi » simple laissait libvirt choisir l'AAVMF « secure »
   (clés Microsoft enrôlées) -> pas de boot. On désactive Secure Boot comme
   pour x86 (secure-boot=no -> AAVMF_CODE.no-secboot.fd).

Validé : redéploiement Fedora 42 aarch64 avec image complète + firmware
non-SB -> CPU 111 % (boot actif), IP en ~80 s, SSH OK (erplibre, aarch64,
Fedora 42 Cloud, sudo OK).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-28 09:22:46 +00:00
..
addons [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
apache [ADD] apache configuration template 2025-10-31 01:31:21 -04:00
code [UPD] script Format 2026-03-14 23:26:31 -04:00
code_generator [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
config [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
database [UPD] script Format 2026-03-14 23:26:31 -04:00
deployment [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
docker [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
execute [UPD] script execute with more space for command display 2026-03-14 23:26:31 -04:00
fork_github_repo [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
git [ADD] installation: add optional extra modules (CybroOdoo) 2026-05-19 15:17:45 -04:00
ide [UPD] script Format 2026-03-14 23:26:31 -04:00
install [FIX] install: supporter Ubuntu 26.04 (sinon deps système sautées -> pas de gcc) 2026-07-28 08:57:36 +00:00
maintenance [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
manifest [IMP] script install: quiet poetry/repo by default, EL_VERBOSE to opt in 2026-07-28 03:57:04 +00:00
nginx [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
odoo [UPD] script Format 2026-03-14 23:26:31 -04:00
performance [ADD] script performance: use tool to test request per second on website 2025-11-01 01:09:32 -04:00
poetry [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
postgresql/migration [UPD] script Format 2026-03-14 23:26:31 -04:00
process [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
qemu [FIX] script qemu: téléchargement complet vérifié + arm64 sans Secure Boot 2026-07-28 09:22:46 +00:00
restful [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
selenium [UPD] script selenium lib: improve diagnostic file download 2026-07-15 04:44:44 -04:00
shell_script_odoo [ADD] brin_advisor brin_cluster 2026-07-15 04:38:38 -04:00
statistic [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
system [ADD] script system: search_docker_compose_erplibre.sh 2024-05-03 23:13:59 -04:00
systemd [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
terminal [IMP] todo support odoo upgrade 2025-10-31 01:43:26 -04:00
test [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
todo [IMP] script todo: en-tête d'install (date, distro, version, archi) dans le log 2026-07-28 08:57:36 +00:00
version [ADD] installation: add optional extra modules (CybroOdoo) 2026-05-19 15:17:45 -04:00
__init__.py [IMP] Copy ERPLibre from https://github.com/mathbentech/InstallScript 2020-04-20 03:56:45 -04:00
generate_config.sh WIP 2026-05-19 15:17:45 -04:00
lib_asyncio.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
make.sh [FIX] script python: missing color log error 2024-05-03 23:13:59 -04:00
open_terminal_code_generator.sh [IMP] todo support odoo upgrade 2025-10-31 01:43:26 -04:00