- 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>
Le template SJ-8 était un stub (echo STATIC_TARGET sans écriture). Désormais :
- /etc/hostname + hostnamectl, ligne 127.0.1.1 <fqdn> <host> dans /etc/hosts
- IP statique via drop-in /etc/network/interfaces.d/<iface>.cfg (ifupdown),
neutralisation awk de la strophe DHCP existante + source interfaces.d
- sauvegardes horodatées avant écriture ; réseau appliqué AU REBOOT (ne coupe
jamais SSH en live) ; FILE_MODIFIED émis après écriture réelle
Cible Debian/ifupdown (netinstall). syntaxe sh -n validée sur rendu.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>