From a33684ddd18ae6043ab96da5f10905b955df2b41 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Thu, 13 Aug 2026 18:32:48 -0400 Subject: [PATCH] [FIX] qemu debian s390x : retirer auto=true, inutile en preseed local MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit « auto=true » vise le preseed par URL : il reordonne l'installation pour monter le reseau avant tout le reste, afin d'aller chercher le fichier. Le notre est embarque dans l'initrd, il n'y a rien a telecharger. Le garder faisait donc courir netcfg tres tot pour rien. Cela n'a pas suffi a debloquer l'installation — le blocage sur l'adressage statique demeure — mais l'argument n'avait aucune raison d'etre la. --- EN --- "auto=true" targets URL preseeding: it reorders the install to bring the network up before anything else, so the file can be fetched. Ours is embedded in the initrd; there is nothing to download. Keeping it ran netcfg very early for no reason. This did not unblock the install — the static-addressing stop remains — but the argument had no business being there. Assisted-by: Claude Opus 5 (cherry picked from commit b805d352e0c3505cdb2522e1023c70e0dc506f15) --- script/qemu/deploy_qemu.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/qemu/deploy_qemu.py b/script/qemu/deploy_qemu.py index b012665..067b4bd 100755 --- a/script/qemu/deploy_qemu.py +++ b/script/qemu/deploy_qemu.py @@ -2023,7 +2023,11 @@ def virt_install( cmd += [ "--install", f"kernel={kernel},initrd={initrd}," - "kernel_args=auto=true priority=critical " + # PAS de « auto=true » : il vise le preseed par URL et réordonne + # l'installation pour monter le réseau AVANT tout le reste. Le + # nôtre est local, il n'y a rien à aller chercher — et c'est + # précisément là que netcfg dérapait. + "kernel_args=priority=critical " "preseed/file=/preseed.cfg console=ttysclp0", ] else: