61b2b866526bb48b1a7af59786f911f9b3f132b7
Takashi Kajinami
61b2b86652
Make tox.ini compatible with recent tox versions
Change-Id: Idd269aba375ca31a24d5012da03214dc882e4014
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%