diff --git a/src/im_mad/remotes/kvm-probes.d/host/system/cpu_features.sh b/src/im_mad/remotes/kvm-probes.d/host/system/cpu_features.sh index 3a09d29a3f..20274b06fa 100755 --- a/src/im_mad/remotes/kvm-probes.d/host/system/cpu_features.sh +++ b/src/im_mad/remotes/kvm-probes.d/host/system/cpu_features.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash  # -------------------------------------------------------------------------- # # Copyright 2002-2024, OpenNebula Project, OpenNebula Systems # @@ -16,6 +16,6 @@ # limitations under the License. # # -------------------------------------------------------------------------- #  -FEATURES=$(virsh capabilities | grep '$//" | xargs | tr ' ' ',') +FEATURES=$(virsh cpu-baseline <(virsh capabilities) --features | grep '$//" | xargs | tr ' ' ',')  echo "KVM_CPU_FEATURES=\"$FEATURES\""