4bf765758c
This patch works several files that were not in common use back into the documents they should live with. The intended end result of this activity is to make common as lean as possible so it can be more easily translated. Also: Don't include configdrive table in user-guide since it's not relevant for audience Change-Id: Iacd5c68c639e60e8c711cb18351543e477444299
25 lines
1.4 KiB
XML
25 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
version="5.0"
|
|
xml:id="xapi-ami-setup">
|
|
<?dbhtml stop-chunking?>
|
|
<title>Prepare for AMI type images</title>
|
|
<para>To support AMI type images in your OpenStack installation,
|
|
you must create a <filename>/boot/guest</filename> directory
|
|
inside Dom0. The OpenStack VM extracts the kernel and ramdisk
|
|
from the AKI and ARI images puts them in this location.</para>
|
|
<para>OpenStack maintains the contents of this directory and its
|
|
size should not increase during normal operation. However, in
|
|
case of power failures or accidental shutdowns, some files
|
|
might be left over. To prevent these files from filling the
|
|
Dom0 disk, set up this directory as a symlink that points to a
|
|
subdirectory of the local SR.</para>
|
|
<para>Run these commands in Dom0 to achieve this setup:</para>
|
|
<screen><prompt>#</prompt> <userinput>LOCAL_SR=$(xe sr-list name-label="Local storage" --minimal)</userinput>
|
|
<prompt>#</prompt> <userinput>LOCALPATH="/var/run/sr-mount/$LOCAL_SR/os-guest-kernels"</userinput>
|
|
<prompt>#</prompt> <userinput>mkdir -p "$LOCALPATH"</userinput>
|
|
<prompt>#</prompt> <userinput>ln -s "$LOCALPATH" /boot/guest</userinput></screen>
|
|
</section>
|