
DOWNLOAD_URL=${MIRROR_URL:-https://cloud.centos.org}/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
IMAGE_NAME=centos-7

function prepare {
    # https://bugs.centos.org/view.php?id=15426
    virt-sysprep -a ${UPSTREAM_IMAGE_DIR}/${IMAGE_NAME}.qcow2 --run-command 'echo "" > /etc/resolv.conf' --selinux-relabel
}
