From: Anil Belur Date: Sun, 16 Feb 2025 02:33:26 +0000 (+1000) Subject: Fix: Update the sysstat script platform versions X-Git-Tag: v0.91.2~1 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=a3259016d2a4c982ce10d5193180e9290005dd8a;p=releng%2Fglobal-jjb.git Fix: Update the sysstat script platform versions Change-Id: I4e23e8b73a97f9ea1b0700d712c003fd9d880986 Signed-off-by: Anil Belur --- diff --git a/releasenotes/notes/fix-sysstat-platform-versions-0da394913af528a7.yaml b/releasenotes/notes/fix-sysstat-platform-versions-0da394913af528a7.yaml new file mode 100644 index 00000000..5bb83ba1 --- /dev/null +++ b/releasenotes/notes/fix-sysstat-platform-versions-0da394913af528a7.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Update the sysstat script platform versions diff --git a/shell/sysstat.sh b/shell/sysstat.sh index 447408c5..627bd3c2 100644 --- a/shell/sysstat.sh +++ b/shell/sysstat.sh @@ -21,17 +21,11 @@ case "$OS" in Ubuntu) os_release=$(facter operatingsystemrelease) case $os_release in - 16.04|18.04|20.04) + 18.04|20.04|22.04|24.04) if ! systemctl status sysstat > /dev/null; then exit 0 fi ;; - 14.04) - if [[ ! -f /etc/default/sysstat ]] || \ - ! grep --quiet 'ENABLED="true"' /etc/default/sysstat; then - exit 0 - fi - ;; *) echo "ERROR: Unknown Release: Ubuntu $os_release" exit 1