X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fdisk-image-builder%2Fcentos%2Fbuild-listmaker.sh;h=98adb905f6ea1f531e2a916255aa39ff0a2b820a;hb=2a144cf3b3c07aa0425bbc7d949d575b608e9237;hp=52aaff0b3c0cb2b7084090133c7816ebfa63c40b;hpb=7af34879d4c2a0c0994d93ded5d9a686c860e8da;p=csit.git diff --git a/resources/tools/disk-image-builder/centos/build-listmaker.sh b/resources/tools/disk-image-builder/centos/build-listmaker.sh index 52aaff0b3c..98adb905f6 100755 --- a/resources/tools/disk-image-builder/centos/build-listmaker.sh +++ b/resources/tools/disk-image-builder/centos/build-listmaker.sh @@ -23,13 +23,23 @@ OUT_DIR="${BUILD_DIR}/output/listmaker" if [ "$1" = "centos-7-1511" ]; then RELEASE_NAME="csit-centos-7-1511-listmaker" PACKER_TEMPLATE="listmaker/centos-7-1511.json" -elif [ "$1" = "centos-7.3-1611" ]; then - RELEASE_NAME="csit-centos-7.3-1611-listmaker" - PACKER_TEMPLATE="listmaker/centos-7.3-1611.json" else - echo "Please provide OS as parameter:" - echo "Options: ${0} [centos-7-1511|centos-7.3-1611]" - exit 1 + if [ "$1" = "centos-7.3-1611" ]; then + RELEASE_NAME="csit-centos-7.3-1611-listmaker" + PACKER_TEMPLATE="listmaker/centos-7.3-1611.json" + elif [ "$1" = "centos-7.4-1711" ]; then + RELEASE_NAME="csit-centos-7.4-1711-listmaker" + PACKER_TEMPLATE="listmaker/centos-7.4-1711.json" + else + if [ "$1" = "centos-7.6-1810" ]; then + RELEASE_NAME="csit-centos-7.6-1810-listmaker" + PACKER_TEMPLATE="listmaker/centos-7.6-1810.json" + else + echo "Please provide OS as parameter:" + echo "Options: ${0} [centos-7.3-1611|centos-7.4-1711|centos-7.6-1810]" + exit 1 + fi + fi fi VIRL_IMAGE_SUBTYPE=server