From d86b454bafc24ec136c81927b99dea68a26d443d Mon Sep 17 00:00:00 2001 From: besawn <38794505+besawn@users.noreply.github.com> Date: Tue, 30 Nov 2021 13:13:02 -0500 Subject: [PATCH] Print informational message from packimage when site table timezone is not set --- xCAT-server/lib/xcat/plugins/packimage.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/packimage.pm b/xCAT-server/lib/xcat/plugins/packimage.pm index 6fda44cf9..ef7c11ce2 100755 --- a/xCAT-server/lib/xcat/plugins/packimage.pm +++ b/xCAT-server/lib/xcat/plugins/packimage.pm @@ -351,6 +351,8 @@ sub process_request { # Add the zoneinfo to the include list $excludetext .= "+./usr/share/zoneinfo/$timezone[0]\n"; + } else { + $callback->({ info => ["No timezone defined in site table, skipping timezone configuration"] }); } #handle the #INLCUDE# tag recursively