Editorial changes in Image Guide
This fixes a couple of typos and similar minor issues. Change-Id: I7a8e5668c93f813e8b26784e6c4f005ef234bc1b
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
<para><link xlink:href="https://github.com/clalancette/oz/wiki">Oz</link> is a command-line
|
||||
tool that automates the process of creating a virtual machine image file. Oz is a Python
|
||||
app that interacts with KVM to step through the process of installing a virtual machine.
|
||||
It uses a predefined set of kickstart (RedHat-based systems) and preseed files
|
||||
It uses a predefined set of kickstart (Red Hat-based systems) and preseed files
|
||||
(Debian-based systems) for operating systems that it supports, and it call also be using
|
||||
to create Microsoft Windows images. On Fedora, install Oz with yum:<screen><prompt>#</prompt> <userinput>yum install oz</userinput></screen><note>
|
||||
<para>As of this writing, there are no Oz packages for Ubuntu, so you will need to
|
||||
either install from source or build your own .deb file.</para>
|
||||
</note></para>
|
||||
<para>A full treatment of Oz is beyond the scope of this doucment, but we will provide an
|
||||
<para>A full treatment of Oz is beyond the scope of this document, but we will provide an
|
||||
example. You can find additional examples of Oz template files on github at <link xlink:href="https://github.com/rackerjoe/oz-image-build/tree/master/templates">rackerjoe/oz-image-build/templates</link>. Here's how you would create a CentOS
|
||||
6.4 image with Oz.</para>
|
||||
<para>Create a template file (we'll call it <filename>centos64.tdl</filename>) with the
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
<title>Rackspace Cloud Builders (multiple distros)
|
||||
images</title>
|
||||
<para>Rackspace Cloud Builders maintains a list of pre-built images from various
|
||||
distributions (RedHat, CentOS, Fedora, Ubuntu). Links to these images can be found at
|
||||
distributions (Red Hat, CentOS, Fedora, Ubuntu). Links to these images can be found at
|
||||
<link xlink:href="https://github.com/rackerjoe/oz-image-build"
|
||||
>rackerjoe/oz-image-build on Github</link>.</para>
|
||||
</section>
|
||||
|
||||
@@ -103,15 +103,15 @@
|
||||
</listitem>
|
||||
</itemizedlist></para>
|
||||
<para>The simplest way to support this in your image is to install the <link
|
||||
xlink:href="https://launchpad.net/cloud-utils">cloud-utils</link>package
|
||||
xlink:href="https://launchpad.net/cloud-utils">cloud-utils</link> package
|
||||
(contains the <command>growpart</command> tool for extending partitions), the <link
|
||||
xlink:href="https://launchpad.net/cloud-initramfs-tools"
|
||||
>cloud-initramfs-tools</link> package (which will support resizing root
|
||||
partition on the first boot), and the <link
|
||||
xlink:href="https://launchpad.net/cloud-init">cloud-init</link> package into
|
||||
your image. With these installed, the image will perform the root partition resize
|
||||
on boot (e.g., in <filename>/etc/rc.local</filename>). These packages are in the
|
||||
Ubuntu nd Debian package repository, as well as the EPEL repository (for
|
||||
on boot (for example in <filename>/etc/rc.local</filename>). These packages are in the
|
||||
Ubuntu and Debian package repository, as well as the EPEL repository (for
|
||||
Fedora/RHEL/CentOS/Scientific Linux guests).</para>
|
||||
<para>If you are not able to install <literal>cloud-initramfs-tools</literal>, Robert
|
||||
Plestenjak has a github project called <link
|
||||
@@ -236,8 +236,8 @@
|
||||
<filename>/etc/rc.local</filename> file and add the following lines before the
|
||||
line “touch /var/lock/subsys/local”. This code fragment is taken from the <link
|
||||
xlink:href="https://github.com/rackerjoe/oz-image-build/blob/master/templates/centos60_x86_64.tdl"
|
||||
>rackerjoe oz-image-build CentOS 6 template</link></para>
|
||||
<programlisting>if [ ! -d /root/.ssh ]; then
|
||||
>rackerjoe oz-image-build CentOS 6 template</link>.</para>
|
||||
<programlisting language="bash">if [ ! -d /root/.ssh ]; then
|
||||
mkdir -p /root/.ssh
|
||||
chmod 700 /root/.ssh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user