f95912e1b9
Fedora and Centos don't have chef in their repos. So we need to install it in another way. This patch adds an ability to install chef in different ways depending on a used distro (ubuntu, fedora, centos7) Change-Id: I1a8ea048791cc0498e78c6a406ef9b486d213471 Related-Bug: #1578991 |
||
---|---|---|
.. | ||
murano-agent/install.d | ||
murano-agent-debian | ||
readme.rst |
Murano Agent Elements
This folder contains necessary DIB elements to build Murano Agent image.
Prerequisites
- Install diskimage-builder
sudo pip install diskimage-builder
- Install qemu-uils and kpartx
On Ubuntu, Debian:
sudo apt-get install qemu-utils kpartx
On Centos, Fedora:
sudo yum install qemu-utils kpartx
Image building
To build Ubuntu-based image
sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements \
"Ec2, ConfigDrive, OpenStack" disk-image-create \
DIB_CLOUD_INIT_DATASOURCES=-o ubuntu14.04-x64-agent vm ubuntu murano-agent
To build Debian-based image
sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements DIB_RELEASE=jessie \
"Ec2, ConfigDrive, OpenStack" disk-image-create \
DIB_CLOUD_INIT_DATASOURCES=-o debian8-x64-agent vm debian murano-agent-debian
Where ${murano_agent_root} is a path to murano-agent files.