Merge "Update documentation to install grub2 when creating the user image"

This commit is contained in:
Jenkins 2015-08-29 03:07:04 +00:00 committed by Gerrit Code Review
commit 7e0d59d4af

View File

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