Images for testing Manila (infrastructure project)
Go to file
Ben Swartzlander c6d3c8478d Modify PS1 to include working directory
To improve debugability, include the cwd in the PS1 prompt
for interactive shells.

Change-Id: I462cd63e68fd455e8e71c6849bd35501c46d7b92
2017-10-26 12:11:20 -04:00
common-files Add fake sudo script 2017-02-16 16:47:09 +00:00
conf Add PCI/ACPI hotplug support 2017-09-28 12:44:08 -04:00
doc Don't strip comments out of config files 2017-01-27 21:22:18 +00:00
patches Modify PS1 to include working directory 2017-10-26 12:11:20 -04:00
server-files/etc Initial commit 2016-10-19 11:36:17 -04:00
.gitignore Add script for testing images really quickly 2017-01-28 15:25:15 +00:00
.gitreview Add .gitreview file 2017-01-27 13:57:19 -05:00
COPYING Initial commit 2016-10-19 11:36:17 -04:00
init-buildroot.sh Conform to bashate standards for control structures 2017-01-29 23:56:06 +00:00
make-bootable-disk.sh Conform to bashate standards for control structures 2017-01-29 23:56:06 +00:00
README Create a config drive to test the metadata code 2017-01-30 19:09:43 +00:00
run-buildroot.sh Add fake sudo script 2017-02-16 16:47:09 +00: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 Create a config drive to test the metadata code 2017-01-30 19:09:43 +00: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