diskimage-builder/elements/ramdisk
Ramakrishnan G 099493b62c Add dhcp support for ramdisk element.
This change adds support for retrieving the IP
through DHCP if 'ip' was not provided as a kernel
command-line argument by pxelinux.  This is used
when the kernel/ramdisk is booted by virtual media.

Change-Id: I1097ce5b56ad40f2d6dc3181681d54f924ec7145
Closes-Bug: #1321563
2014-07-15 16:30:09 +05:30
..
binary-deps.d Add dhcp support for ramdisk element. 2014-07-15 16:30:09 +05:30
cleanup.d Ensure we can read the kernel out. 2014-05-14 04:25:05 +12:00
extra-data.d Add dhcp support for ramdisk element. 2014-07-15 16:30:09 +05:30
init.d Add dhcp support for ramdisk element. 2014-07-15 16:30:09 +05:30
install.d Add dhcp support for ramdisk element. 2014-07-15 16:30:09 +05:30
post-install.d 4 spaces indent 2014-05-10 11:17:29 +02:00
element-deps Add dhcp support for ramdisk element. 2014-07-15 16:30:09 +05:30
pkg-map Add dhcp support for ramdisk element. 2014-07-15 16:30:09 +05:30
README.md Reinstate Trusty as default for Ubuntu 2014-06-03 16:28:25 -07:00

This is the ramdisk element.

Almost any user building a ramdisk will want to include this in their build, as it triggers many of the vital functionality from the basic diskimage-builder libraries (such as init script aggregation, busybox population, etc).

An example of when one might want to use this toolchain to build a ramdisk would be the initial deployment of baremetal nodes in a TripleO setup. Various tools and scripts need to be injected into a ramdisk that will fetch and apply a machine image to local disks. That tooling/scripting customisation can be easily applied in a repeatable and automatable way, using this element.

NOTE: ramdisks require 1GB minimum memory on the machines they are booting.

See the top-level README.md of the project, for more information about the mechanisms available to a ramdisk element.