Added image requirements package in the Image Guide

1. Added dracut-modules-growroot package for CentOS and RHEL
2. Fixed a broken link.

Change-Id: Ibf773c642d87c037bacebab2f13b210f0b40014a
backport: none
Closes-Bug: #1331971
This commit is contained in:
darrenchan
2014-10-16 20:58:14 +11:00
parent d9b7231550
commit af0877e6f7

View File

@@ -139,19 +139,29 @@
<para>Resize the root volume file system.</para> <para>Resize the root volume file system.</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
<para>The simplest way to support this in your image is to <para>The simplest way to support this is to
install the <link install in your image the:</para>
xlink:href="https://launchpad.net/cloud-utils" <itemizedlist>
>cloud-utils</link> package (contains the <listitem>
<command>growpart</command> tool for extending <para><link xlink:href="https://launchpad.net/cloud-utils">cloud-utils</link>
partitions), the <link package, which contains the <command>growpart</command>
xlink:href="https://launchpad.net/cloud-initramfs-tools" tool for extending partitions.</para>
>cloud-initramfs-growroot</link> package (which </listitem>
supports resizing root partition on the first boot), <listitem>
and the <link <para><link xlink:href="https://launchpad.net/cloud-initramfs-tools">cloud-initramfs-growroot</link>
xlink:href="https://launchpad.net/cloud-init" package for Ubuntu, Debian and Fedora, which supports
><package>cloud-init</package></link> package resizing root partition on the first boot.</para>
into your image. With these installed, the image </listitem>
<listitem>
<para><package>cloud-initramfs-growroot</package>
package for Centos and RHEL.</para>
</listitem>
<listitem>
<para><link xlink:href="https://launchpad.net/cloud-init">cloud-init</link>
package.</para>
</listitem>
</itemizedlist>
<para>With these packages installed, the image
performs the root partition resize on boot. For performs the root partition resize on boot. For
example, in the <filename>/etc/rc.local</filename> example, in the <filename>/etc/rc.local</filename>
file. These packages are in the Ubuntu and Debian file. These packages are in the Ubuntu and Debian
@@ -376,16 +386,16 @@ done</programlisting>
(cloud-init)</title> (cloud-init)</title>
<para>In addition to the ssh public key, an image might need <para>In addition to the ssh public key, an image might need
additional information from OpenStack, such as <link additional information from OpenStack, such as <link
xlink:href="http://docs.openstack.org/user-guide/content/user-data.html" xlink:href="http://docs.openstack.org/user-guide/content/inserting_userdata.html"
>user data</link> that the user submitted when >Provide user data to instances</link>, that the user
requesting the image. For example, you might want to set submitted when requesting the image. For example, you might
the host name of the instance when it is booted. Or, you want to set the host name of the instance when it is booted.
might wish to configure your image so that it executes Or, you might wish to configure your image so that it executes
user data content as a script on boot.</para> user data content as a script on boot.</para>
<para>This information is accessible through the metadata <para>You can access this information through the metadata
service or the <link service or referring to <link
xlink:href="http://docs.openstack.org/user-guide/content/config-drive.html" xlink:href="http://docs.openstack.org/user-guide/content/config-drive.html"
>config drive</link>. As the OpenStack metadata >Store metadata on the configuration drive</link>. As the OpenStack metadata
service is compatible with version 2009-04-04 of the service is compatible with version 2009-04-04 of the
Amazon EC2 metadata service, consult the Amazon EC2 Amazon EC2 metadata service, consult the Amazon EC2
documentation on <link documentation on <link