source: drbl-virt/sbin/drbl_virt.sh @ 165

Last change on this file since 165 was 161, checked in by rock, 14 years ago

Add: drbl_patch.sh drbl_virt_remove.sh conf/xend-config.sxp

File size: 625 bytes
Line 
1#!/bin/bash
2# Program:
3#   DRBL virt module
4# Author:
5#   Jazz, Rock {jazz, rock}@nchc.org.tw
6# Version:
7#    1.0
8# History:                                                                                         
9#   2010/07/20  Rock    First release (1.0)
10
11# [PATH]
12Work_Home="/opt/drbl-virt"
13Work_Path="/opt/drbl-virt/sbin"
14PATH=${PATH}:$Work_Path
15
16# [Source]
17source funs_drbl_virt
18
19# [Main]
20install_drbl-virt_dir
21cpu_check
22check_systemInfo
23VMM_select
24
25# [Install VMM/Hypervisior] 1=Xen, 2=KVM
26if [ $VMM_select == 1 ]; then
27    source xen_intall.sh
28else
29    source kvm_intall.sh
30fi
31
32# [DRBL Environment Configuration]
33
Note: See TracBrowser for help on using the repository browser.