Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 1 | # This should simulate preseed behavior |
| 2 | |
Filip Pytloun | b06a69b | 2016-06-09 16:24:58 +0200 | [diff] [blame] | 3 | apt-get update |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 4 | apt-get -y install curl |
| 5 | |
Filip Pytloun | 2d3628a | 2017-10-03 12:22:51 +0200 | [diff] [blame] | 6 | # Add apt repository |
| 7 | echo "deb [arch=amd64] http://apt.mirantis.com/xenial/ nightly salt" > /etc/apt/sources.list.d/mcp_salt.list |
| 8 | echo "deb [arch=amd64] http://apt.mirantis.com/xenial/ nightly extra" > /etc/apt/sources.list.d/mcp_extra.list |
| 9 | curl -sf http://apt.mirantis.com/public.gpg | apt-key add - |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 10 | |
Filip Pytloun | b06a69b | 2016-06-09 16:24:58 +0200 | [diff] [blame] | 11 | apt-get clean |
Filip Pytloun | f81c6ad | 2016-06-09 16:22:05 +0200 | [diff] [blame] | 12 | apt-get update |
Filip Pytloun | 7ae5c75 | 2016-01-15 13:48:38 +0100 | [diff] [blame] | 13 | |
| 14 | # Kernel makes no sense in docker, let base.sh know |
| 15 | touch /tmp/no_install_kernel |