Merge pull request #249 from bogdando/bootstrap_juno_MOS/UCA

Packer builds for Juno image
This commit is contained in:
Łukasz Oleś 2015-10-12 15:45:47 +02:00
commit 551b299b87
3 changed files with 15 additions and 1 deletions

View File

@ -9,3 +9,4 @@
- include: tasks/docker.yaml
#- include: celery.yaml tags=['master'] celery_dir=/var/run/celery
- include: tasks/cloud_archive.yaml
#- include: tasks/mos.yaml

View File

@ -1,5 +1,7 @@
---
- shell: apt-get update
- shell: apt-get -y upgrade
- shell: add-apt-repository -y cloud-archive:juno
- shell: apt-get update
- shell: apt-get -y dist-upgrade
- shell: apt-get update --fix-missing

View File

@ -0,0 +1,11 @@
---
- shell: apt-get update
- shell: apt-get -y upgrade
- apt_repository: repo='deb http://fuel-repository.mirantis.com/fwm/6.1/ubuntu mos6.1 main' validate_certs=no
- shell: echo 'APT::Get::AllowUnauthenticated "true";' > /etc/apt/apt.conf.d/99mos61
- shell: echo 'Package: *' > /etc/apt/preferences.d/mos.pref
- shell: echo 'Pin: release o=Mirantis,a=mos6.1,n=mos6.1,l=mos6.1' >> /etc/apt/preferences.d/mos.pref
- shell: echo 'Pin-Priority: 1050' >> /etc/apt/preferences.d/mos.pref
- shell: apt-get update
- shell: apt-get update --fix-missing