blob: 82b9d59eddd5a2a2fad9fb1b534345158c38bd99 [file] [log] [blame]
Filip Pytloun7b48fd22015-06-30 23:34:01 +02001# This should simulate preseed behavior
2
azvyagintseve1b236a2018-07-13 16:59:49 +03003apt-get update
Filip Pytloun7b48fd22015-06-30 23:34:01 +02004apt-get -y install curl
5
Filip Pytloun2d3628a2017-10-03 12:22:51 +02006# Add apt repository
7echo "deb [arch=amd64] http://apt.mirantis.com/trusty/ nightly salt" > /etc/apt/sources.list.d/mcp_salt.list
Ivan Berezovskiy7630eaf2018-12-17 16:33:14 +04008echo "deb [arch=amd64] http://mirror.mirantis.com/nightly/extra/trusty trusty main" > /etc/apt/sources.list.d/mcp_extra.list
9curl -sf http://mirror.mirantis.com/nightly/extra/trusty/archive-extra.key | apt-key add -
Filip Pytloun7b48fd22015-06-30 23:34:01 +020010
azvyagintseve1b236a2018-07-13 16:59:49 +030011apt-get clean
Filip Pytloun7b48fd22015-06-30 23:34:01 +020012apt-get update
13
14# Kernel makes no sense in docker, let base.sh know
15touch /tmp/no_install_kernel