Automated way to build a bootable linux image for use by the Manila generic driver.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Goutham Pacha Ravi 873527d746
Native Zuulv3 scenario test job
3 years ago
bin Merge "Change DHCP timeout" 3 years ago
data/docker Removes LXC/LXD support on manila-image-elements 6 years ago
doc/source Switch to newer openstackdocstheme version 3 years ago
elements Merge "Change DHCP timeout" 3 years ago
playbooks Native Zuulv3 scenario test job 3 years ago
roles/build-mie-images Native Zuulv3 scenario test job 3 years ago
tools Native Zuulv3 scenario test job 3 years ago
zuul.d Native Zuulv3 scenario test job 3 years ago
.gitignore Native Zuulv3 scenario test job 3 years ago
.gitreview OpenDev Migration Patch 4 years ago
CONTRIBUTING.rst Sync Sphinx requirement 4 years ago
HACKING.rst Replace git.openstack.org URLs with opendev.org URLs 4 years ago
LICENSE Initial commit 8 years ago
README.rst README: add example for variable override 3 years ago
bindep.txt Move other-requirements.txt to bindep.txt 7 years ago
lower-constraints.txt Switch to newer openstackdocstheme version 3 years ago
requirements.txt Updated from global requirements 6 years ago
setup.cfg Cleanup py27 support 3 years ago
setup.py Cleanup py27 support 3 years ago
test-requirements.txt Switch to newer openstackdocstheme version 3 years ago
tox.ini Pass env vars into tox buildimage sections 3 years ago

README.rst

Team and repository tags

image

Manila Image Elements Project

This repo is a place for Manila-related diskimage-builder elements.

Build instructions

Before building the image, make sure all system dependencies listed in bindep.txt file, are installed.

Default generic using tox

Script for creating Ubuntu based image with our elements and default parameters.

You should only need to run this command:

tox -e buildimage

On completion, an Ubuntu minimal image with NFS+CIFS will be available for use.

Non-default image using tox

A finer-grained image creation control can be obtained by specifying extra parameters. Precisely, the syntax is as follows:

tox -e buildimage -- -s nfs

Where <share-protocol> can be nfs, cifs, zfs or nfs-ganesha.

For example, running:

tox -e buildimage -- -s cifs

Will generate an Ubuntu based image with CIFS.

Configurable variables

You can override some build variables from manila-image-create, for example:

export DHCP_TIMEOUT=600
export MANILA_PASSWORD=PASSWORD
tox -e buildimage