diskimage-builder/elements/vm
Ben Nemec 16f1de6115 Quote to handle empty DIB_RELEASE
We don't export DIB_RELEASE in the base distro scripts, so many
times it will be an unset variable in 51-bootloader from the vm
element.  Currently that script doesn't handle the situation
properly and we get errors like:

line 160: [: =: unary operator expected

This change quotes the references to DIB_RELEASE so that won't
happen anymore.

Change-Id: Ic8f91804334f8862c217f465be80e96d3116f5c8
2015-02-18 20:16:50 +00:00
..
block-device.d Enable vm element to create PowerPC image 2015-02-06 03:39:36 +05:30
cleanup.d Allow custom rootfs labels 2014-09-26 17:44:08 -05:00
finalise.d Quote to handle empty DIB_RELEASE 2015-02-18 20:16:50 +00:00
README.rst Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00

==
vm
==
Sets up a partitioned disk (rather than building just one filesystem with no
partition table).

By default the disk will have grub[2]-install run on it. In case GRUB2
is not available in the system, a fallback to Extlinux will happen. It's
also possible to enforce the use of Extlinux by exporting a DIB_EXTLINUX
variable to the environment.