Images for testing Manila (infrastructure project)
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.
OpenDev Sysadmins e75f49ce09 OpenDev Migration Patch 4 weeks ago
common-files Add rnd-tools for faster random pool initialization 1 year ago
conf Add rnd-tools for faster random pool initialization 1 year ago
doc Don't strip comments out of config files 2 years ago
patches Use DHCP for eth1 and enforce MTU 1 year ago
playbooks/manila-test-image-build OpenDev Migration Patch 4 weeks ago
server-files Add shell scripts for use by nextgen generic driver 1 year ago
.gitignore Add script for testing images really quickly 2 years ago
.gitreview OpenDev Migration Patch 4 weeks ago
.zuul.yaml Import legacy job 8 months ago
COPYING Initial commit 2 years ago
README Create a config drive to test the metadata code 2 years ago
init-buildroot.sh Add -xe flags to shell scripts 1 year ago
make-bootable-disk.sh Add -xe flags to shell scripts 1 year ago
run-buildroot.sh Add -xe flags to shell scripts 1 year ago
setup.cfg Fix bashate job 2 years ago
setup.py Fix bashate job 2 years ago
test-image.sh Add -xe flags to shell scripts 1 year ago
tox.ini Wrap long lines 2 years ago

README


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