1002 B
1002 B
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 disk-image-create \
-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.