Images for testing Manila (infrastructure project)
Go to file
OpenDev Sysadmins e75f49ce09 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:40:21 +00:00
common-files Add rnd-tools for faster random pool initialization 2017-10-26 18:14:55 +00:00
conf Add rnd-tools for faster random pool initialization 2017-10-26 18:14:55 +00:00
doc Don't strip comments out of config files 2017-01-27 21:22:18 +00:00
patches Use DHCP for eth1 and enforce MTU 2017-10-26 18:13:15 +00:00
playbooks/manila-test-image-build OpenDev Migration Patch 2019-04-19 19:40:21 +00:00
server-files Add shell scripts for use by nextgen generic driver 2017-10-26 18:14:44 +00:00
.gitignore Add script for testing images really quickly 2017-01-28 15:25:15 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:40:21 +00:00
.zuul.yaml Import legacy job 2018-09-09 17:52:04 +02:00
COPYING Initial commit 2016-10-19 11:36:17 -04:00
init-buildroot.sh Add -xe flags to shell scripts 2017-10-27 13:39:23 -04:00
make-bootable-disk.sh Add -xe flags to shell scripts 2017-10-27 13:39:23 -04:00
README Create a config drive to test the metadata code 2017-01-30 19:09:43 +00:00
run-buildroot.sh Add -xe flags to shell scripts 2017-10-27 13:39:23 -04:00
setup.cfg Fix bashate job 2017-01-27 15:02:06 -05:00
setup.py Fix bashate job 2017-01-27 15:02:06 -05:00
test-image.sh Add -xe flags to shell scripts 2017-10-27 13:39:23 -04:00
tox.ini Wrap long lines 2017-01-29 23:56:20 +00:00

This project contains scripts and configs to create a small bootable
Linux image, primarily for the purposes of testing Manila.

It uses buildroot to do nearly all of the hard work.

The built Linux image is optimized for size, and targets the i386
platform under QEMU.

The following extra features are enabled:
* SSH server
* NFSv3/4 server
* NFSv3/4 client
* Samba4 Server
* CIFS client

== Dependencies needed ==

On Ubuntu:

 # To build
 sudo apt-get -y install curl unzip bc python quilt parted qemu-utils \
     build-essential gcc-multilib
 # For test/dev
 sudo apt-get -y install bison flex texinfo gettext ncurses-dev sshpass \
     qt-sdk qemu-kvm genisoimage

On Fedora:

 # To build
 sudo dnf -y install curl unzip bc python quilt parted qemu-img gcc-c++ \
     make glibc-devel.i686
 # For test/dev
 sudo dnf -y install bison flex texinfo gettext ncurses-devel sshpass \
     qt-devel qemu-kvm genisoimage

== Building the images ==

To build both images run:

 ./run-buildroot.sh

== Cleaning up ==

To nuke everything and start over:

 rm -rf buildroot output* overlay*
 sudo rm *.qcow2

== Detailed Docs ==

More detailed docs are available:

* doc/building.txt - individual build steps
* doc/configuring.txt - how to change the config
* doc/testing.txt - how to test the images