fix(provisioning): make latencytop/cockpit-tests install best-effort
global-installPackages installed latencytop and cockpit-tests on every non-Kali host, but both have been dropped from Debian trixie (latencytop is dead upstream; cockpit-tests has no candidate). Under the framework's errexit the failing apt-get aborted the entire run with rc=100 right after the core package install completed. These are optional monitoring/test extras, not core requirements, so make the install best-effort with `|| true` to match the script's existing treatment of non-critical operations. 🤖 Generated with [Crush](https://github.com/charmassociates/crush) Assisted-by: GLM-5 via Crush <crush@charm.land>
This commit is contained in:
@@ -207,7 +207,7 @@ function global-installPackages() {
|
||||
if [[ $KALI_CHECK -eq 0 ]];then
|
||||
DEBIAN_FRONTEND="noninteractive" apt-get -qq --yes -o Dpkg::Options::="--force-confold" install \
|
||||
latencytop \
|
||||
cockpit-tests
|
||||
cockpit-tests || true
|
||||
fi
|
||||
|
||||
if [[ $IS_PHYSICAL_HOST -gt 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user