bc7a9f0da7
Partial-Bug: #1250515 backport: havana Change-Id: I9675dffd130c8aa6343143d9806adb4e0b74a55d author: diane fleming
24 lines
1.4 KiB
XML
24 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>
|