murano-apps/Chef/OrionChef/elements/readme.rst

821 B

Chef Elements

This folder contains necessary DIB elements to build Chef image expected by "Orion Chef" Murano application.

Prerequisites

  1. Install diskimage-builder
sudo pip install diskimage-builder
  1. Install qemu-utils and kpartx

On Ubuntu, Debian:

sudo apt-get install qemu-utils kpartx

On Centos, Fedora:

sudo yum install qemu-utils kpartx

Image building

sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements:${murano_apps_root}/Chef/OrionChef/elements disk-image-create \
    vm ubuntu murano-agent chef -o ubuntu14.04-x64-chef

Where ${murano_agent_root} is a path to murano-agent files and ${murano_apps_root} is a path to murano-apps files.