a21683502ad9820eaef759a2be6e6a400f7a1940
Goutham Pacha Ravi
a21683502a
Fix setup.py and setup.cfg deprecations
This project cannot be "installed" as a python package, so specify there are no "py_modules" to install; alongside, hyphenated metadata headers are deprecated in setup.cfg, replace them. Change-Id: I0713f3c871180ea235c12f888e43a7a823341f0c Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
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 buildimageOn 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 nfsWhere <share-protocol> can be nfs, cifs, zfs or nfs-ganesha.
For example, running:
tox -e buildimage -- -s cifsWill 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 buildimageDescription
Languages
Shell
89.1%
Dockerfile
8.6%
Python
2.3%