Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openstack/manila-image-elements
Automated way to build a bootable linux image for use by the Manila generic driver. Mirror of code maintained at opendev.org.
https://github.com/openstack/manila-image-elements
Last synced: 3 months ago
JSON representation
Automated way to build a bootable linux image for use by the Manila generic driver. Mirror of code maintained at opendev.org.
- Host: GitHub
- URL: https://github.com/openstack/manila-image-elements
- Owner: openstack
- License: apache-2.0
- Created: 2015-06-17T19:20:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T00:28:00.000Z (10 months ago)
- Last Synced: 2024-07-16T14:10:54.838Z (4 months ago)
- Language: Shell
- Homepage: https://opendev.org/openstack/manila-image-elements
- Size: 137 KB
- Stars: 14
- Watchers: 8
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
========================
Team and repository tags
========================.. image:: https://governance.openstack.org/tc/badges/manila-image-elements.svg
:target: https://governance.openstack.org/tc/reference/tags/index.html=============================
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/imagesBuild 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:
.. sourcecode:: 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:.. sourcecode:: bash
tox -e buildimage -- -s nfs
Where can be nfs, cifs, zfs or nfs-ganesha.
For example, running:
.. sourcecode:: 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:
.. sourcecode:: bash
export DHCP_TIMEOUT=600
export MANILA_PASSWORD=PASSWORD
tox -e buildimage