Browse code

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

Huan Xie authored on 2017/05/27 17:30:52
Showing 1 changed files
... ...
@@ -84,14 +84,6 @@ function configure_nova_hypervisor {
84 84
 * * * * * /root/rotate_xen_guest_logs.sh >/dev/null 2>&1
85 85
 CRONTAB
86 86
 
87
-    # Create directories for kernels and images
88
-    {
89
-        echo "set -eux"
90
-        cat $TOP_DIR/tools/xen/functions
91
-        echo "create_directory_for_images"
92
-        echo "create_directory_for_kernels"
93
-        echo "install_conntrack_tools"
94
-    } | $ssh_dom0
95 87
 }
96 88
 
97 89
 # install_nova_hypervisor() - Install external components