Filip Pytloun | 7b48fd2 | 2015-06-30 23:34:01 +0200 | [diff] [blame] | 1 | # This should simulate preseed behavior |
| 2 | |
azvyagintsev | e1b236a | 2018-07-13 16:59:49 +0300 | [diff] [blame] | 3 | apt-get update |
Filip Pytloun | 7b48fd2 | 2015-06-30 23:34:01 +0200 | [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/trusty/ nightly salt" > /etc/apt/sources.list.d/mcp_salt.list |
| 8 | echo "deb [arch=amd64] http://apt.mirantis.com/trusty/ nightly extra" > /etc/apt/sources.list.d/mcp_extra.list |
| 9 | curl -sf http://apt.mirantis.com/public.gpg | apt-key add - |
Filip Pytloun | 7b48fd2 | 2015-06-30 23:34:01 +0200 | [diff] [blame] | 10 | |
azvyagintsev | e1b236a | 2018-07-13 16:59:49 +0300 | [diff] [blame] | 11 | apt-get clean |
Filip Pytloun | 7b48fd2 | 2015-06-30 23:34:01 +0200 | [diff] [blame] | 12 | apt-get update |
| 13 | |
| 14 | # Kernel makes no sense in docker, let base.sh know |
| 15 | touch /tmp/no_install_kernel |