Ben Swartzlander c533026ed7 Support SSH keys from config drive
Add kernel support for IDE CDROM drives, add a package for JSON
parsing, and updating the metadata script to look for SSH keys
on the config drive in addition to the metadata server.

Change-Id: Ic8f065bfd77dd4c533590a023bab8b1d32da1f53
2017-01-28 15:38:30 +00:00
2017-01-28 15:38:30 +00:00
2016-10-19 11:36:17 -04:00
2016-10-19 11:36:17 -04:00
2017-01-27 13:57:19 -05:00
2016-10-19 11:36:17 -04:00
2016-10-19 11:36:17 -04:00
2017-01-27 20:10:08 -05:00
2017-01-27 15:02:06 -05:00
2017-01-27 15:02:06 -05:00
2017-01-27 15:02:06 -05: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

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

== 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
Description
Images for testing Manila (infrastructure project)
Readme 366 KiB
Languages
Shell 93%
Python 7%