diskimage-builder/elements/vm
Gregory Haynes 757b8cee3b Add --force to grub-install
Grub fails to install the bootloader due to it being on the root
partition of a block device. This is not actually a problem for us, so
we need to force it to succeed.

Change-Id: I335ef04ca8a8a8a5c242d3444b09bcce0a9f51e7
2015-10-18 02:26:31 +00:00
..
block-device.d Handle modern sfdisk and correctly align image partition 2015-08-04 15:26:13 +10:00
cleanup.d Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
finalise.d Add --force to grub-install 2015-10-18 02:26:31 +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.