X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpacker-build.sh;h=73e74965425ec20264b29e5c74c3b2354f59941d;hb=c8b9acd166fcbd88139a65f7721e522980a0e013;hp=4cb3df32a90dc71e130116c9ec8b2d3a9c108829;hpb=048aff89d28864363ba051c7624d280368e362d3;p=releng%2Fglobal-jjb.git diff --git a/shell/packer-build.sh b/shell/packer-build.sh index 4cb3df32..73e74965 100644 --- a/shell/packer-build.sh +++ b/shell/packer-build.sh @@ -21,7 +21,6 @@ PACKER_LOGS_DIR="$WORKSPACE/archives/packer" PACKER_BUILD_LOG="$PACKER_LOGS_DIR/packer-build.log" mkdir -p "$PACKER_LOGS_DIR" export PATH="${WORKSPACE}/bin:$PATH" -export PACKER_BUILDER=${PACKER_BUILDER:-openstack} cd packer @@ -64,6 +63,7 @@ fi set +x packer.io build -color=false \ + -only "${PACKER_BUILDER}" \ -var-file="$CLOUDENV" \ -var-file="$platform_file" \ "templates/$PACKER_TEMPLATE.json"