Update documentation to install grub2 when creating the user image

Grub2 is needed for local boot, the "grub2" element of disk-image-builder
should be specified at image creation time otherwise local boot will
fail because it won't find the grub2 binaries.

Change-Id: Iadb35148a34f0c21239959258a7762d267e95acd
This commit is contained in:
Lucas Alvares Gomes 2015-08-26 14:17:42 +01:00
parent 3d45795abb
commit 55ab7e4de0

View File

@ -590,14 +590,15 @@ them to the Image service:
- Build the image your users will run (Ubuntu image has been taken as
an example)::
disk-image-create ubuntu baremetal dhcp-all-interfaces -o my-image
disk-image-create ubuntu baremetal dhcp-all-interfaces grub2 -o my-image
The above command creates *my-image.qcow2*, *my-image.vmlinuz* and
*my-image.initrd* files. If you want to use Fedora image, replace
*ubuntu* with *fedora* in the above command. *my-image.qcow2* is
used while deploying the actual OS the users will run. The images
*my-image.vmlinuz* and *my-image.initrd* are used for booting after
deploying the bare metal with my-image.qcow2.
*ubuntu* with *fedora* in the above command. The *grub2* element is
only needed if local boot will be used to deploy *my-image.qcow2*,
otherwise the images *my-image.vmlinuz* and *my-image.initrd*
will be used for PXE booting after deploying the bare metal with
*my-image.qcow2*.
- To build the deploy image take a look at the `Building or
downloading a deploy ramdisk image`_ section.