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.
 
 
 
 
George Melikov 631a8542df Allow to set MANILA_USER_AUTHORIZED_KEYS 2 months ago
bin Allow to set MANILA_USER_AUTHORIZED_KEYS 2 months ago
data/docker Add OpenLDAP to manila-docker-container 7 months ago
doc/source Switch to newer openstackdocstheme version 1 year ago
elements Fix typo for manilauser-ssh-authorized-keys 2 months ago
playbooks Native Zuulv3 scenario test job 1 year ago
roles/build-mie-images Native Zuulv3 scenario test job 1 year ago
tools Ignore *.service files when linting bash scripts 1 year ago
zuul.d Remove lower-constraints job 7 months ago
.gitignore Native Zuulv3 scenario test job 1 year ago
.gitreview OpenDev Migration Patch 2 years ago
CONTRIBUTING.rst Sync Sphinx requirement 2 years ago
HACKING.rst Replace git.openstack.org URLs with opendev.org URLs 2 years ago
LICENSE Initial commit 6 years ago
README.rst README: add example for variable override 1 year ago
bindep.txt Move other-requirements.txt to bindep.txt 5 years ago
requirements.txt Updated from global requirements 5 years ago
setup.cfg Cleanup py27 support 1 year ago
setup.py Cleanup py27 support 1 year ago
test-requirements.txt Switch to newer openstackdocstheme version 1 year ago
tox.ini Remove lower-constraints job 7 months 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:

bash

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:

bash

tox -e buildimage -- -s nfs

Where <share-protocol> can be nfs, cifs, zfs or nfs-ganesha.

For example, running:

bash

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:

bash

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