blob: d5628abb3ee0be5140c3f370012f35a6e7bc47a9 [file] [log] [blame]
# This should simulate preseed behavior
apt-get update
apt-get -y install curl
# Add apt repository
echo "deb [arch=amd64] http://mirror.mirantis.com/nightly/docker/xenial/ xenial main" > /etc/apt/sources.list.d/mcp_salt.list
echo "deb [arch=amd64] http://mirror.mirantis.com/nightly/extra/xenial/ xenial main" > /etc/apt/sources.list.d/mcp_extra.list
curl -sf http://mirror.mirantis.com/nightly/extra/xenial/archive-extra.key | apt-key add -
apt-get clean
apt-get update
# Kernel makes no sense in docker, let base.sh know
touch /tmp/no_install_kernel