- Les fichiers pve-netconfig.service, pve-netconfig-watch.service, pve-netconfig.timer, dhclient-hook et dhcpcd-hook n'avaient jamais ete ajoutes au depot git : un git clone frais ne les contenait pas, ce qui faisait echouer install-pve-netconfig.sh (install: cannot stat ...). - install-pve-netconfig.sh applique desormais automatiquement la configuration DHCP (apply-interfaces + check + demarrage des services) au lieu de se limiter a des instructions manuelles, avec une option SKIP_AUTO_APPLY=1 pour desactiver ce comportement. - Bit executable ajoute sur install-pve-netconfig.sh, dhclient-hook et dhcpcd-hook. - README.md mis a jour avec l'URL reelle du depot (https://git.sdeinfo.app/sde/pvedhcp.git) et le nouveau comportement automatique. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
16 lines
508 B
Desktop File
16 lines
508 B
Desktop File
[Unit]
|
|
Description=Proxmox : configuration DHCP/fallback et synchronisation /etc/hosts
|
|
Documentation=file:/usr/local/sbin/pve-netconfig.sh
|
|
After=network-online.target networking.service
|
|
Wants=network-online.target
|
|
# Doit tourner AVANT que les services PVE ne lisent /etc/hosts
|
|
Before=pve-guests.service pveproxy.service pvedaemon.service pve-cluster.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/local/sbin/pve-netconfig.sh check
|
|
TimeoutStartSec=120
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |