Packer builds for Juno image

Provide packer build jobs for
Juno image with UCA (default) or MOS mirrors (disabled by default).
Restore lost cinder-volume loopback device task

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
Bogdan Dobrelya 2015-10-09 16:14:46 +02:00
parent c1bffed29f
commit c1a433f47e
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