[fuel-plugin] Set default grub entry for kernel
[kvmfornfv.git] / fuel-plugin / pre_build_hook
index 259862f..7d9aa15 100755 (executable)
@@ -6,8 +6,8 @@ BUILD_FOR=${BUILD_FOR:-ubuntu}
 DIR="$(dirname `readlink -f $0`)"
 MODULES="${DIR}/deployment_scripts/puppet/modules"
 
-REBOOT_VER='1.2.1'
-REBOOT_URL="https://github.com/puppetlabs/puppetlabs-reboot/archive/${REBOOT_VER}.tar.gz"
+SHELLVAR_VERSION='2.2.1'
+SHELLVAR_URL="https://github.com/hercules-team/augeasproviders_shellvar/archive/${SHELLVAR_VERSION}.tar.gz"
 
 function build_pkg {
   case $1 in
@@ -30,6 +30,6 @@ do
   build_pkg $system
 done
 
-rm -rf ${MODULES}/reboot
-mkdir -p ${MODULES}/reboot
-wget -qO- ${REBOOT_URL} |  tar -C ${MODULES}/reboot --strip-components=1 -zxvf -
+rm -rf ${MODULES}/shellvar
+mkdir -p ${MODULES}/shellvar
+wget -qO- ${SHELLVAR_URL} |  tar -C ${MODULES}/shellvar --strip-components=1 -zxvf -