From 5440de04bc7fad2ed050569a9fe1cf225063ae84 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Tue, 17 Feb 2026 08:54:36 +0100 Subject: [PATCH] Call get_lxc_ip in start() before updates Add calls to get_lxc_ip in start() (two code paths) immediately after ensure_profile_loaded so the container IP is fetched before update_script and update_motd_ip run. This ensures scripts and MOTD are updated with the correct LXC IP. --- misc/build.func | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/build.func b/misc/build.func index 215fbb0e5..04f24867a 100644 --- a/misc/build.func +++ b/misc/build.func @@ -3427,6 +3427,7 @@ start() { VERBOSE="no" set_std_mode ensure_profile_loaded + get_lxc_ip update_script update_motd_ip cleanup_lxc @@ -3454,6 +3455,7 @@ start() { ;; esac ensure_profile_loaded + get_lxc_ip update_script update_motd_ip cleanup_lxc