XenAPI: Move dom0 related operations to os-xenapi devstack plugin

When installing OpenStack via DevStack on XenServer, we need to
some preparation operations in dom0 which will refer the function
in devstack/tools/xen/functions file, but we are planning to move
the whole folder of tools/xen from devstack to os-xenapi, so it
this patch is to moving the dom0 related operation to os-xenapi
repo first.

Change-Id: Ib59d802a7a4eab4ccce0e29d80f29efa4655bc0b
Depends-On: I712ee74ce945859ba5118e09b7d9436ca2686cb7
This commit is contained in:
Huan Xie 2017-05-27 01:30:52 -07:00
parent 1ca22d50b0
commit f15fd26943

View File

@ -84,14 +84,6 @@ function configure_nova_hypervisor {
* * * * * /root/rotate_xen_guest_logs.sh >/dev/null 2>&1
CRONTAB
# Create directories for kernels and images
{
echo "set -eux"
cat $TOP_DIR/tools/xen/functions
echo "create_directory_for_images"
echo "create_directory_for_kernels"
echo "install_conntrack_tools"
} | $ssh_dom0
}
# install_nova_hypervisor() - Install external components