Prepare for AMI type images
To support AMI type images in your OpenStack installation, you must
create the /boot/guest directory on dom0. One of
the OpenStack XAPI plugins will extract the kernel and ramdisk from
AKI and ARI images and put them to that directory.
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 up dom0's filesystem, set up this
directory as a symlink that points to a subdirectory of the local SR.
Run these commands in dom0 to achieve this setup:
# LOCAL_SR=$(xe sr-list name-label="Local storage" --minimal)
# LOCALPATH="/var/run/sr-mount/$LOCAL_SR/os-guest-kernels"
# mkdir -p "$LOCALPATH"
# ln -s "$LOCALPATH" /boot/guest