Commit 6c19e7e3 authored by Thomas Goirand's avatar Thomas Goirand

Added script to build a murano image in the contrib folder.

parent 9e73b961
#!/bin/sh
set -e
build-openstack-debian-image --release jessie --hook-script murano-agent-hook
#!/bin/sh
set -e
OPENSTACK_RELEASE=kilo
TARGET_OS=jessie
# Adding Mirantis repository until murano-agent is in official backports
echo "deb http://${OPENSTACK_RELEASE}-${TARGET_OS}.pkgs.mirantis.com/debian ${TARGET_OS}-${OPENSTACK_RELEASE}-backports main
deb http://${OPENSTACK_RELEASE}-${TARGET_OS}.pkgs.mirantis.com/debian ${TARGET_OS}-${OPENSTACK_RELEASE}-backports-nochange main
" >${BODI_CHROOT_PATH}/etc/apt/sources.list.d/mirantis-backports.list
wget -O ${BODI_CHROOT_PATH}/${OPENSTACK_RELEASE}-${TARGET_OS}-archive-keyring_0.1_all.deb \
http://${OPENSTACK_RELEASE}-${TARGET_OS}.pkgs.mirantis.com/debian/pool/${TARGET_OS}-${OPENSTACK_RELEASE}-backports-nochange/main/k/${OPENSTACK_RELEASE}-${TARGET_OS}-archive-keyring/${OPENSTACK_RELEASE}-${TARGET_OS}-archive-keyring_0.1_all.deb
chroot ${BODI_CHROOT_PATH} dpkg -i /${OPENSTACK_RELEASE}-${TARGET_OS}-archive-keyring_0.1_all.deb
rm ${BODI_CHROOT_PATH}/${OPENSTACK_RELEASE}-${TARGET_OS}-archive-keyring_0.1_all.deb
chroot ${BODI_CHROOT_PATH} apt-get update
chroot ${BODI_CHROOT_PATH} apt-get install -y murano-agent
openstack-debian-images (1.4) UNRELEASED; urgency=medium
* Added script to build a murano image in the contrib folder.
-- Thomas Goirand <zigo@debian.org> Wed, 06 May 2015 22:30:46 +0200
openstack-debian-images (1.3) unstable; urgency=medium
* Removed the tweak of /etc/modules, as acpiphp and pci_hotplug aren't in the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment