[FIX] qemu debian s390x : retirer auto=true, inutile en preseed local

« 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)
This commit is contained in:
Mathieu Benoit 2026-08-13 18:32:48 -04:00
parent 12db87e1c2
commit a33684ddd1

View file

@ -2023,7 +2023,11 @@ def virt_install(
cmd += [ cmd += [
"--install", "--install",
f"kernel={kernel},initrd={initrd}," 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", "preseed/file=/preseed.cfg console=ttysclp0",
] ]
else: else: