Automated way to build a bootable linux image for use by the Manila generic driver.
Go to file
Andreas Jaeger e5ae79051f Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Id7a2401cd31c0b05812a76d2cc5f1e6a014cb510
2020-05-31 17:53:48 +02:00
bin Refactor cephfs element 2020-05-26 22:43:25 -07:00
data/docker Removes LXC/LXD support on manila-image-elements 2017-01-10 14:15:24 +00:00
doc/source Switch to newer openstackdocstheme version 2020-05-31 17:53:48 +02:00
elements Refactor cephfs element 2020-05-26 22:43:25 -07:00
playbooks Modify job to build images 2020-05-21 15:44:12 -07:00
roles/build-mie-images Modify job to build images 2020-05-21 15:44:12 -07:00
tools Modify job to build images 2020-05-21 15:44:12 -07:00
.gitignore Add more files to .gitignore 2016-01-28 17:47:53 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:32:17 +00:00
.zuul.yaml Modify job to build images 2020-05-21 15:44:12 -07:00
bindep.txt Move other-requirements.txt to bindep.txt 2016-08-12 20:54:31 +02:00
CONTRIBUTING.rst Sync Sphinx requirement 2019-06-25 14:36:09 +08:00
HACKING.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-24 00:35:17 +08:00
LICENSE Initial commit 2015-06-02 10:42:23 +03:00
lower-constraints.txt Switch to newer openstackdocstheme version 2020-05-31 17:53:48 +02:00
README.rst README: add example for variable override 2020-05-20 12:55:52 +03:00
requirements.txt Updated from global requirements 2017-04-12 04:13:48 +00:00
setup.cfg Cleanup py27 support 2020-04-11 15:39:10 +02:00
setup.py Cleanup py27 support 2020-04-11 15:39:10 +02:00
test-requirements.txt Switch to newer openstackdocstheme version 2020-05-31 17:53:48 +02:00
tox.ini Pass env vars into tox buildimage sections 2020-05-20 12:54:52 +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+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