Install dpdk-igb-uio-dkms of compute with hugepages

Related-Prod: PRODX-3456
Change-Id: I545440fdd66710667f65f489c0e77f03e642ec1d
diff --git a/de/heat-templates/scripts/instance_boot.sh b/de/heat-templates/scripts/instance_boot.sh
index 1952d2b..e00e244 100644
--- a/de/heat-templates/scripts/instance_boot.sh
+++ b/de/heat-templates/scripts/instance_boot.sh
@@ -129,10 +129,14 @@
 function install_required_packages {
     # Disable unattended upgrades
     sed -i 's/1/0/' /etc/apt/apt.conf.d/20auto-upgrades
+    local pkg_list="apt-transport-https ca-certificates curl software-properties-common jq unzip atop iptables-persistent socat ntp"
 
+    if [[ "${CONFIGURE_HUGE_PAGES}" == true ]]; then
+        pkg_list="$pkg_list dpdk-igb-uio-dkms"
+    fi
     function install_retry {
         apt update
-        export DEBIAN_FRONTEND=noninteractive; apt install -y apt-transport-https ca-certificates curl software-properties-common jq unzip atop iptables-persistent socat ntp
+        export DEBIAN_FRONTEND=noninteractive; apt install -y $pkg_list
     }
     retry 10 "Failed to install required packages" install_retry
 }