fix(post-install): identity_network cadré Debian/ifupdown (VM) avec précheck
- 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>
This commit is contained in:
@@ -48,8 +48,8 @@ export const PROFILES: Record<string, ProfileManifest> = {
|
||||
},
|
||||
identity_network: {
|
||||
id: "identity_network",
|
||||
label: "Hostname + IP statique",
|
||||
description: "Définit le hostname, le domaine et l'adresse IP statique (sauvegarde des fichiers).",
|
||||
label: "Hostname + IP statique (Debian/VM)",
|
||||
description: "Définit hostname, domaine et IP statique. Cible Debian + ifupdown (VM netinstall) ; refuse proprement les autres cas (Ubuntu/netplan…). Réseau appliqué au reboot.",
|
||||
risk: "network_change",
|
||||
requiresConfirmation: true,
|
||||
template: "custom/identity-network.sh.tpl",
|
||||
|
||||
Reference in New Issue
Block a user