blob: 3b22e5c8fae9a18a6df4b9251876f5f3256f2748 [file] [log] [blame]
Filip Pytloun7ae5c752016-01-15 13:48:38 +01001# This should simulate preseed behavior
2
Filip Pytlounb06a69b2016-06-09 16:24:58 +02003apt-get update
Filip Pytloun7ae5c752016-01-15 13:48:38 +01004apt-get -y install curl
5
Filip Pytloun2d3628a2017-10-03 12:22:51 +02006# Add apt repository
7echo "deb [arch=amd64] http://apt.mirantis.com/xenial/ nightly salt" > /etc/apt/sources.list.d/mcp_salt.list
8echo "deb [arch=amd64] http://apt.mirantis.com/xenial/ nightly extra" > /etc/apt/sources.list.d/mcp_extra.list
9curl -sf http://apt.mirantis.com/public.gpg | apt-key add -
Filip Pytloun7ae5c752016-01-15 13:48:38 +010010
Filip Pytlounb06a69b2016-06-09 16:24:58 +020011apt-get clean
Filip Pytlounf81c6ad2016-06-09 16:22:05 +020012apt-get update
Filip Pytloun7ae5c752016-01-15 13:48:38 +010013
14# Kernel makes no sense in docker, let base.sh know
15touch /tmp/no_install_kernel