Automated way to build a bootable linux image for use by the Manila generic driver.
8441651e09
Enabled warning-is-error in setup.cfg Partial-Bug: #1706181 Depends-On: I6b876f6e697659a5fe7046d5c5d4fd4ed98f9828 Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454 Change-Id: If13ebd1ede6fbc997d74425ec78e15621f1f80b2 |
||
---|---|---|
bin | ||
data/docker | ||
doc/source | ||
elements | ||
tools | ||
.gitignore | ||
.gitreview | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
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://github.com/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.