X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fdisk-image-builder%2Fubuntu%2Frun-listmaker.sh;fp=resources%2Ftools%2Fdisk-image-builder%2Fubuntu%2Frun-listmaker.sh;h=78d30b5bad11e2fa38a26b9afb208bd33876664a;hp=7f5311ed230e4d393187c4c6d4195734ec7ccdca;hb=b417beabd253e93d494075f7474343e8c3ac3f34;hpb=7947526242a1e6149f623af96cfcb696a313c4db diff --git a/resources/tools/disk-image-builder/ubuntu/run-listmaker.sh b/resources/tools/disk-image-builder/ubuntu/run-listmaker.sh index 7f5311ed23..78d30b5bad 100755 --- a/resources/tools/disk-image-builder/ubuntu/run-listmaker.sh +++ b/resources/tools/disk-image-builder/ubuntu/run-listmaker.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) 2016 Cisco and/or its affiliates. +# Copyright (c) 2018 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -62,9 +62,9 @@ echo "Storing data in ${OUTPUT_DIR}/." # APT packages wanted APT_WANTLIST_INFRA="nfs-common cloud-init" -APT_WANTLIST_CSIT="python-dev python-pip python-virtualenv git strongswan socat" +APT_WANTLIST_CSIT="python-dev python-pip python-virtualenv git strongswan socat python-cffi" APT_WANTLIST_TLDK="libpcap0.8-dev libpcap-dev cmake tcpdump" -APT_WANTLIST_VPP="dkms bridge-utils libmbedcrypto0 libmbedtls10 libmbedx509-0" +APT_WANTLIST_VPP="dkms bridge-utils libmbedcrypto0 libmbedcrypto1 libmbedtls10 libmbedx509-0" APT_WANTLIST_TREX="zlib1g-dev unzip" APT_WANTLIST_NESTED="qemu-system-x86" APT_WANTLIST_JAVA="openjdk-8-jdk-headless" @@ -130,9 +130,9 @@ do done echo "IP is $ip" -sleep 10 +sleep 30 -if ping -w 60 -c 2 $ip > /dev/null +if ping -w 60 -c 10 $ip > /dev/null then echo Host $ip alive else