From e05b4e94dca51528760621f47397b91676eb3470 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sun, 9 Aug 2026 00:54:22 +0200 Subject: [PATCH] chore(post_install): bump setup_persistent_network FUNC_VERSION to 1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump FUNC_VERSION from 1.1 to 1.2 in the setup_persistent_network wrapper for both customizable and auto post_install variants. Rationale: The generator pmx_setup_persistent_network in utils-install-functions.sh now emits `.link` files with Kind=!bridge (PR #280), so existing installs need their `.link` files regenerated to pick up the fix. Bumping the wrapper's FUNC_VERSION triggers the Monitor + CLI post-install version tracker to surface persistent_network as a pending update, prompting users to re-run the optimization — which regenerates the files with the fix applied. Not touched: - network_menu.sh copy of setup_persistent_network: uses a simpler register_tool() that doesn't track versions (menu-driven invocation is on-demand, not tracked as auto-update-eligible by design). --- scripts/post_install/auto_post_install.sh | 2 +- scripts/post_install/customizable_post_install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/post_install/auto_post_install.sh b/scripts/post_install/auto_post_install.sh index aa113796..f2fbf5cc 100644 --- a/scripts/post_install/auto_post_install.sh +++ b/scripts/post_install/auto_post_install.sh @@ -1093,7 +1093,7 @@ enable_zfs_autotrim() { setup_persistent_network() { - local FUNC_VERSION="1.1" + local FUNC_VERSION="1.2" # description: Pin NIC names to MAC addresses via systemd .link files so kernel updates don't shuffle interface names. local pve_version pve_version=$(pveversion 2>/dev/null | grep -oP 'pve-manager/\K[0-9]+' | head -1) diff --git a/scripts/post_install/customizable_post_install.sh b/scripts/post_install/customizable_post_install.sh index 73725ee0..4ec6e004 100644 --- a/scripts/post_install/customizable_post_install.sh +++ b/scripts/post_install/customizable_post_install.sh @@ -2836,7 +2836,7 @@ EOF setup_persistent_network() { - local FUNC_VERSION="1.1" + local FUNC_VERSION="1.2" # description: Pin NIC names to MAC addresses via systemd .link files so kernel updates don't shuffle interface names. local pve_version pve_version=$(pveversion 2>/dev/null | grep -oP 'pve-manager/\K[0-9]+' | head -1)