mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-08-09 01:06:22 +00:00
chore(post_install): bump setup_persistent_network FUNC_VERSION to 1.2
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).
This commit is contained in:
@@ -1093,7 +1093,7 @@ enable_zfs_autotrim() {
|
|||||||
|
|
||||||
|
|
||||||
setup_persistent_network() {
|
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.
|
# description: Pin NIC names to MAC addresses via systemd .link files so kernel updates don't shuffle interface names.
|
||||||
local pve_version
|
local pve_version
|
||||||
pve_version=$(pveversion 2>/dev/null | grep -oP 'pve-manager/\K[0-9]+' | head -1)
|
pve_version=$(pveversion 2>/dev/null | grep -oP 'pve-manager/\K[0-9]+' | head -1)
|
||||||
|
|||||||
@@ -2836,7 +2836,7 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
setup_persistent_network() {
|
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.
|
# description: Pin NIC names to MAC addresses via systemd .link files so kernel updates don't shuffle interface names.
|
||||||
local pve_version
|
local pve_version
|
||||||
pve_version=$(pveversion 2>/dev/null | grep -oP 'pve-manager/\K[0-9]+' | head -1)
|
pve_version=$(pveversion 2>/dev/null | grep -oP 'pve-manager/\K[0-9]+' | head -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user