URL=$1
URL_MAIN=$2


curl ${URL_MAIN}/del_mongo_rep.sh -o /tmp/del_mongo_rep.sh
curl ${URL}/add_rep.sh -o /tmp/add_rep.sh
curl ${URL}/start_env.sh -o /tmp/start_env.sh
curl ${URL}/setup_core.sh -o /tmp/setup_core.sh
curl ${URL}/full_docker.sh -o /tmp/full_docker.sh
curl ${URL}/update_optional_packages.sh -o /tmp/update_optional_packages.sh
curl ${URL}/change_trusted_docker_cert.sh -o /tmp/change_trusted_docker_cert.sh
curl ${URL}/extract_gpg_key.sh -o /tmp/extract_gpg_key.sh
if [[ ! -f /tmp/packages_version.conf ]]; then
    curl ${URL}/packages_version.conf -o /tmp/packages_version.conf
fi
