Automated way to build a bootable linux image for use by the Manila generic driver.
Go to file
Doug Hellmann 7efceceeb3 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I3a20dc68bf1d4051724d148b0fa808ea3d0a1673
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:55:49 -04:00
bin Add support for CentOS 2017-03-28 16:21:10 +00:00
data/docker Removes LXC/LXD support on manila-image-elements 2017-01-10 14:15:24 +00:00
doc/source doc migration: new directory layout 2017-08-21 08:30:25 -04:00
elements Fix "already-provided" CI error 2018-04-22 11:49:43 -04:00
tools Allow built image be available via local webserver 2017-04-03 14:57:36 +03: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
.zuul.yaml import zuul job settings from project-config 2018-08-20 18:49:35 +00: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
lower-constraints.txt add lower-constraints job 2018-04-23 10:50:28 -04:00
README.rst Optimize the link address 2017-06-16 12:01:39 +05:30
requirements.txt Updated from global requirements 2017-04-12 04:13:48 +00:00
setup.cfg doc migration: warning-is-error 2017-08-24 14:50:13 -04:00
setup.py Updated from global requirements 2017-03-02 11:46:42 +00:00
test-requirements.txt Updated from global requirements 2018-03-15 07:08:40 +00:00
tox.ini fix tox python3 overrides 2018-09-26 18:55:49 -04: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+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.