#!/bin/bash
# Program:
#   DRBL virt module
# Author: 
#   Jazz, Rock {jazz, rock}@nchc.org.tw
# Version:
#    1.0
# History:                                                                                          
#   2010/07/20  Rock    First release (1.0) 

# [Source]
source /opt/drbl-virt/conf/drbl-virt.conf
source $Work_Path/functions_drbl_virt
# [Main]
check_root
cpu_check
check_systemInfo
VMM_select

# [Install VMM/Hypervisior] 1=Xen, 2=KVM
if [ $VMM_select == 1 ]; then
    bash "xen_install.sh start"
else
    bash "kvm_install.sh"
fi

# [DRBL Environment Configuration]

