Takashi Kajinami 18b84b1d2c Fix installation of EPEL in recent versions
The current hard-coded rpm url does not work in CentOS/RHEL > 6.

Also we have to use dnf instead of yum in recent versions (like CentOS
>= 8).

Change-Id: I3b0be9bd864a611d330b06a95913af8a12468200
2024-01-26 06:57:55 +00:00
2022-08-25 14:22:36 +08:00
2020-07-23 22:20:34 -07:00
2021-03-04 17:40:19 +00:00
2020-07-23 22:20:34 -07:00
2019-04-19 19:32:17 +00:00
2019-06-25 14:36:09 +08:00
2015-06-02 10:42:23 +03:00

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
Description
Automated way to build a bootable linux image for use by the Manila generic driver.
Readme 1.4 MiB
Languages
Shell 89.1%
Dockerfile 8.6%
Python 2.3%