Victoria Martinez de la Cruz e46c38a1b2 Changes default behaviour for image creation script
Commit ac84122598432fa1030a345e2b3b8caa193d6c96 refactoring
broke manila gate by changing the default behavior of the
image creation. The generic drivers requires CIFS+NFS, and
after this change the default image shipped NFS only.

This patch set adds a default value with CIFS+NFS.

Change-Id: Ia620c04f68d0a627b047616cf5a39e2ba681c77f
Closes-Bug: #1657121
2017-01-17 12:22:24 -03:00

1.5 KiB

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 or zfs.

For example, running:

tox -e buildimage -- -s cifs

Will generate an Ubuntu based image with CIFS.