Automated way to build a bootable linux image for use by the Manila generic driver.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
wangjiaqi07 66126c2a77 remove unicode from code 3 months ago
bin Switch ubuntu image to Jammy Jellyfish 6 months ago
data/docker Add OpenLDAP to manila-docker-container 2 years ago
doc/source remove unicode from code 3 months ago
elements Switch ubuntu image to Jammy Jellyfish 6 months ago
playbooks Native Zuulv3 scenario test job 2 years ago
roles/build-mie-images Native Zuulv3 scenario test job 2 years ago
tools Ignore *.service files when linting bash scripts 2 years ago
zuul.d Remove lower-constraints job 2 years ago
.gitignore Native Zuulv3 scenario test job 2 years ago
.gitreview OpenDev Migration Patch 4 years ago
CONTRIBUTING.rst Sync Sphinx requirement 3 years ago
HACKING.rst Replace git.openstack.org URLs with opendev.org URLs 4 years ago
LICENSE Initial commit 8 years ago
README.rst README: add example for variable override 3 years ago
bindep.txt Move other-requirements.txt to bindep.txt 6 years ago
requirements.txt Updated from global requirements 6 years ago
setup.cfg Fix setup.py and setup.cfg deprecations 8 months ago
setup.py Fix setup.py and setup.cfg deprecations 8 months ago
test-requirements.txt Switch to newer openstackdocstheme version 3 years ago
tox.ini Remove lower-constraints job 2 years ago

README.rst

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.

Configurable variables

You can override some build variables from manila-image-create, for example:

export DHCP_TIMEOUT=600
export MANILA_PASSWORD=PASSWORD
tox -e buildimage