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/daily/20161201/cirros-dl161201-$NODE_ARCTYPE-lxc.tar.gz \
20 http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-$NODE_ARCHES-root.tar.gz "
24 http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-$NODE_ARCHES-uefi1.img \
25 http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-$NODE_ARCHES-uefi1.img \
26 http://mirror.catn.com/pub/catn/images/qcow2/centos6.4-x86_64-gold-master.img \
27 http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2 \
28 http://download.cirros-cloud.net/daily/20161201/cirros-dl161201-$NODE_ARCTYPE-disk.img "
34 if [ -f $folder/$FILENAME ];
36 echo "$FILENAME already downloaded."
38 wget -O $folder/$FILENAME $URL
42 echo "To download Windows image get there : https://cloudbase.it/windows-cloud-images/"