Automated way to build a bootable linux image for use by the Manila generic driver.
Go to file
Andreas Jaeger c127687d3d Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine;
  move contraints into deps
- Move python3 into base tox environment.

Change-Id: Ibd243ce5be8415147c24f596b4059ec3fb68a89c
2020-04-11 15:39:10 +02:00
bin Merge "Update service image from Xenial to Bionic" 2019-02-15 08:19:17 +00:00
data/docker Removes LXC/LXD support on manila-image-elements 2017-01-10 14:15:24 +00:00
doc/source Cleanup py27 support 2020-04-11 15:39:10 +02:00
elements Set .ssh permissions correctly 2018-12-31 02:14:52 +00:00
playbooks Ensure artifacts directory exists 2019-01-25 12:56:01 +00:00
tools Sync Sphinx requirement 2019-06-25 14:36:09 +08: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 Update docs job 2019-05-19 13:36:18 +02: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 Cleanup py27 support 2020-04-11 15:39:10 +02:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-24 00:35:17 +08: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 Cleanup py27 support 2020-04-11 15:39:10 +02:00
tox.ini Cleanup py27 support 2020-04-11 15:39:10 +02: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.