Automated way to build a bootable linux image for use by the Manila generic driver.
Go to file
Victoria Martinez de la Cruz ac84122598 Enables end user to pick share protocol
This patch set refactors manila-image-create script to allow
end users to pick which share protocol install on their images.
This change slightly affects the current behavior of the script.

If an image is created using tox -e buildimage (as stated by current
docs) an Ubuntu Trusty Minimal image with NFS will be created.

Now, calling manila-image-create with params, will generate an image with
the filesystem protocol desired.

Change-Id: I0419cbf9a39290d32409f7a5ab9dfaf5ca636bb7
Closes-Bug: #1643034
2017-01-16 12:40:01 -03:00
bin Enables end user to pick share protocol 2017-01-16 12:40:01 -03:00
data/docker Removes LXC/LXD support on manila-image-elements 2017-01-10 14:15:24 +00:00
doc/source Align project with default openstack project structure 2015-06-03 16:18:32 +03:00
elements Removes LXC/LXD support on manila-image-elements 2017-01-10 14:15:24 +00:00
tools Removes LXC/LXD support on manila-image-elements 2017-01-10 14:15:24 +00:00
.gitignore Add more files to .gitignore 2016-01-28 17:47:53 +02:00
.gitreview Align project with default openstack project structure 2015-06-03 16:18:32 +03:00
bindep.txt Move other-requirements.txt to bindep.txt 2016-08-12 20:54:31 +02:00
CONTRIBUTING.rst Fix launchpad url in CONTRIBUTING.rst file 2016-01-28 12:07:42 +00:00
HACKING.rst Align project with default openstack project structure 2015-06-03 16:18:32 +03:00
LICENSE Initial commit 2015-06-02 10:42:23 +03:00
README.rst Enables end user to pick share protocol 2017-01-16 12:40:01 -03:00
requirements.txt Updated from global requirements 2016-12-02 21:04:40 +00:00
setup.cfg Fix doc building 2016-12-02 19:25:37 +01:00
setup.py Updated from global requirements 2016-03-03 01:15:25 +00:00
test-requirements.txt Updated from global requirements 2016-12-15 21:23:15 +00:00
tox.ini Enables end user to pick share protocol 2017-01-16 12:40:01 -03:00

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 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 or zfs.

For example, running:

tox -e buildimage -- -s cifs

Will generate an Ubuntu based image with CIFS.