#!/bin/bash # set -e cpver=$1 base_url=$2 if [[ -z $base_url ]]; then echo "Usage: $0 " exit 1 fi apt-get update apt-get install -y apt-transport-https wget wget -qO - ${base_url}/deb/${cpver}/archive.key | apt-key add - cat >/etc/apt/sources.list.d/Confluent.list <