Automated way to build a bootable linux image for use by the Manila generic driver.
c127687d3d
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 |
||
---|---|---|
bin | ||
data/docker | ||
doc/source | ||
elements | ||
playbooks | ||
tools | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
lower-constraints.txt | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Team and repository tags
Manila Image Elements Project
This repo is a place for Manila-related diskimage-builder elements.
- Free software: Apache license
- Source: https://opendev.org/openstack/manila-image-elements
- Bugs: https://bugs.launchpad.net/manila-image-elements
- Built Images: https://tarballs.openstack.org/manila-image-elements/images
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.