4 sudo mkdir $folder || true
8 if [ "ppc64le" == "$NODE_ARCTYPE" ]; then
10 elif [ "aarch64" == "$NODE_ARCTYPE" ]; then
17 if grep -q 'virt-type: lxd' bundles.yaml; then
19 http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-$NODE_ARCTYPE-lxc.tar.gz \
20 http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-$NODE_ARCHES-root.tar.gz \
21 http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-$NODE_ARCHES-uefi1.img \
22 http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-$NODE_ARCHES-uefi1.img \
23 http://mirror.catn.com/pub/catn/images/qcow2/centos6.4-x86_64-gold-master.img \
24 http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2 \
25 http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-$NODE_ARCTYPE-disk.img \
31 if [ -f $folder/$FILENAME ];
33 echo "$FILENAME already downloaded."
35 wget -O $folder/$FILENAME $URL
39 echo "To download Windows image get there : https://cloudbase.it/windows-cloud-images/"