- updateMachine accepte name/hostname/port (correction d'identité réseau)
- rebootAndRebind : reboot sur l'ancienne connexion → attente du retour sur la
NOUVELLE IP (verifyReboot avec host cible) → maj BDD (hostname + nom) si OK.
Sécurité : BDD inchangée si la machine ne revient pas (récupération console/backups)
- execute post_install : si identity_network + reboot coché + succès, déclenche
rebootAndRebind et joint le RebootResult ; statut error si reconnexion échoue
tsc 0 · 113 tests · build OK.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- précheck en tête : refuse proprement si OS != debian (os_not_supported),
si netplan présent (unsupported_network_manager) ou si /etc/network/interfaces
absent (ifupdown_not_found) — au lieu d'écrire une conf inopérante
- manifeste : label « (Debian/VM) » + description précisant la cible ifupdown
et l'application au reboot
Validé en réel sur Debian VM (ens18) : strophe DHCP commentée + drop-in statique.
sh -n OK · tsc 0 · 113 tests.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>