diff --git a/.ci/install_ksm_throttler.sh b/.ci/install_ksm_throttler.sh old mode 100644 new mode 100755 index 7f09a13f0..5f6fd7cd9 --- a/.ci/install_ksm_throttler.sh +++ b/.ci/install_ksm_throttler.sh @@ -27,11 +27,13 @@ clone_build_and_install "github.com/kata-containers/ksm-throttler" # to be dynmaically changing the KSM settings under us - we need control of them # ourselves if [[ ! $METRICS_CI ]]; then - systemctl enable vc-throttler.service - systemctl start vc-throttler.service + sudo systemctl daemon-reload + sudo systemctl enable vc-throttler.service + sudo systemctl start vc-throttler.service fi # Stop and disable cc-proxy service in case the service files # are installed. -systemctl stop cc-proxy || true -systemctl disable cc-proxy || true +sudo systemctl daemon-reload +sudo systemctl disable cc-proxy || true +sudo systemctl stop cc-proxy || true diff --git a/.ci/setup.sh b/.ci/setup.sh index 2615c65c5..e9c6e224c 100755 --- a/.ci/setup.sh +++ b/.ci/setup.sh @@ -45,6 +45,9 @@ bash -f ${cidir}/install_shim.sh echo "Install proxy" bash -f ${cidir}/install_proxy.sh +echo "Install ksm throttler" +bash -f ${cidir}/install_ksm_throttler.sh + echo "Install Clear containers image" "${cidir}/install_asset.sh" "image" "latest"