diskimage-builder/elements/vm
Ben Kero 41f503fef3 Replace sfdisk partitioning with parted
A TODO was placed on the partitioning section of the vm element to
replace sfdisk with a saner (and less arcane) way of partitioning. It
suggested parted for replacement. This changeset should reproduce the
same disk label and partition layout as sfdisk, but with less ioctl
errors and version dependency. It will also ensure partition alignment.

Change-Id: I5d8d75131458b73bfb05f80f1bfa7e2970e004b3
2016-02-08 12:15:50 -08:00
..
block-device.d Replace sfdisk partitioning with parted 2016-02-08 12:15:50 -08:00
cleanup.d Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
finalise.d vm: use $DISTRO_NAME instead of lsb_release 2015-05-12 17:49:03 +02: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.