~openstackbook/openstackbook/essex

« back to all changes in this revision

Viewing changes to Image.xml

  • Committer: Kiran Murari
  • Date: 2011-11-30 12:50:22 UTC
  • mfrom: (13.1.1 diablo)
  • Revision ID: kiranmurari@gmail.com-20111130125022-51wrei721de96jja
Merge Annes's epub changes, fix typos

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?><chapter xmlns:db="http://docbook.org/ns/docbook" xmlns="http://docbook.org/ns/docbook" xml:id="Image_Management-d1e1252" version="5.0" xml:base="Image.xml">
 
1
<?xml version="1.0" encoding="UTF-8"?><chapter xmlns:db="http://docbook.org/ns/docbook" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="Image_Management-d1e1252" version="5.0" xml:base="Image.xml">
2
2
   <title>Image Management</title>
3
3
<section xml:id="Introduction-d1e1257">
4
4
<title>Introduction</title>
5
 
<para> There are several pre-built images for OpenStack available from  various sources. You can download such images and use them to get familiar with OpenStack. You can refer to http://docs.openstack.org/cactus/openstack-compute/admin/content/starting-images.html for details on using such images.</para>
 
5
<para> There are several pre-built images for OpenStack available from  various sources. You can download such images and use them to get familiar with OpenStack. You can refer to <link xlink:href="http://docs.openstack.org/diablo/openstack-compute/admin/content/starting-images.html">http://docs.openstack.org/diablo/openstack-compute/admin/content/starting-images.html</link> for details on using such images.</para>
6
6
<para>For any production deployment,  you may like to have the ability to bundle custom images, with a custom set of applications or configuration. This chapter will guide you through the process of creating Linux images of Debian and RedHat based distributions from scratch. We have also covered an approach to bundling Windows images.
7
7
   </para>
8
8
   <para>There are some minor differences in the way you would bundle a Linux image, based on the distribution. Ubuntu makes it very easy by providing cloud-init package, which can be used to take care of the instance configuration at the time of launch. cloud-init handles importing ssh keys for password-less login, setting host name etc. The instance acquires the instance specific configuration from Nova-compute by connecting to a meta data interface running on 169.254.169.254.</para>
80
80
<programlisting> 
81
81
LABEL=uec-rootfs    /    ext4        defaults    0   0
82
82
</programlisting> 
83
 
</section>
84
83
<para>Also remove the network persistence rules from /etc/udev/rules.d as their presence will result in the network interface in the instance coming up as an interface other than eth0.</para>
85
84
 
86
85
<programlisting> 
179
178
cat /root/.ssh/authorized_keys
180
179
echo "************************"
181
180
</programlisting> 
182
 
</section>
 
181
 
183
182
<para>Unmount the Loop partition</para>
184
183
 
185
184
<programlisting> 
264
263
euca-register mybucket/windowsserver.img.manifest.xml
265
264
</programlisting>
266
265
</section>
 
266
</section>
 
267
</section>
267
268
</chapter>
 
 
b'\\ No newline at end of file'