X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fdisk-image-builder%2Fcentos%2Fbuild-listmaker.sh;h=6aa5493a5816d83862b09e6b3b4316b7b73e4547;hp=52aaff0b3c0cb2b7084090133c7816ebfa63c40b;hb=fc11dba19e92609e0631c567ac25756f0c3697df;hpb=fc7a9563a6d23aaaace589606e431fad409b1ab9 diff --git a/resources/tools/disk-image-builder/centos/build-listmaker.sh b/resources/tools/disk-image-builder/centos/build-listmaker.sh index 52aaff0b3c..6aa5493a58 100755 --- a/resources/tools/disk-image-builder/centos/build-listmaker.sh +++ b/resources/tools/disk-image-builder/centos/build-listmaker.sh @@ -23,13 +23,18 @@ 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 + echo "Please provide OS as parameter:" + echo "Options: ${0} [centos-7-1511|centos-7.3-1611|centos-7.4-1711]" + exit 1 + fi fi VIRL_IMAGE_SUBTYPE=server