Disable dpdk for acmps
- MOSK doesn't support dpdk configuration
Related-Prod: PRODX-51829
Change-Id: Ief931426b3897932c9d3e8e7081837721d7101b3
diff --git a/de/heat-templates/scripts/functions.sh b/de/heat-templates/scripts/functions.sh
index df2c393..b8bde38 100644
--- a/de/heat-templates/scripts/functions.sh
+++ b/de/heat-templates/scripts/functions.sh
@@ -71,7 +71,7 @@
TUNGSTENFABRIC_ENABLED=${TUNGSTENFABRIC_ENABLED:-false}
if [[ "${HUGE_PAGES_1G_SIZE}" -gt 0 ]] || [[ "${HUGE_PAGES_2Mb_SIZE}" -gt 0 ]]; then
CONFIGURE_HUGE_PAGES=true
- if [[ "${TUNGSTENFABRIC_ENABLED,,}" == false ]]; then
+ if [[ "${TUNGSTENFABRIC_ENABLED,,}" == false ]] && [[ "${DPDK_ENABLED}" == true ]]; then
TUNNEL_INTERFACE_NETPLAN_MANAGE=false
fi
fi
@@ -203,7 +203,7 @@
function install_required_packages {
local pkg_list="apt-transport-https ca-certificates curl software-properties-common jq unzip atop iptables-persistent socat ntp rng-tools open-iscsi nfs-common"
- if [[ "${CONFIGURE_HUGE_PAGES}" == true ]]; then
+ if [[ "${DPDK_ENABLED}" == true ]]; then
# Since jammy the igb_uio kernel module contains in the dpdk-kmods-dkms package
if [[ ${CODENAME} == "bionic" ]] || [[ ${CODENAME} == "focal" ]]; then
pkg_list="$pkg_list dpdk-igb-uio-dkms"