diff --git a/Makefile b/Makefile index e49c864..7f161e3 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ UBUNTU_BOXES= precise quantal raring saucy trusty utopic DEBIAN_BOXES= squeeze wheezy sid jessie CENTOS_BOXES= 6 -FEDORA_BOXES= 20 19 +FEDORA_BOXES= 21 20 19 TODAY=$(shell date -u +"%Y-%m-%d") # Replace i686 with i386 and x86_64 with amd64 diff --git a/common/download.sh b/common/download.sh index 304b168..c883c27 100755 --- a/common/download.sh +++ b/common/download.sh @@ -34,6 +34,11 @@ elif [ $RELEASE = 'squeeze' ] || [ $RELEASE = 'wheezy' ]; then utils.lxc.create -t debian -- \ --release ${RELEASE} \ --arch ${ARCH} +elif [ ${DISTRIBUTION} = 'fedora' -a ${RELEASE} = '21' ]; then + ARCH=$(echo ${ARCH} | sed -e "s/38/68/" | sed -e "s/amd64/x86_64/") + utils.lxc.create -t fedora --\ + --release ${RELEASE} \ + --arch ${ARCH} else utils.lxc.create -t download -- \ --dist ${DISTRIBUTION} \