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

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

Add: Automatic packaging drbl-virt (tar_drbl-virt.sh)

File size: 901 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# [Source]
12source /opt/drbl-virt/conf/drbl-virt.conf
13source $Work_Path/functions_drbl_virt
14# [Main]
15check_root
16cpu_check
17check_systemInfo
18VMM_select
19
20# = 1.[Install VMM/Hypervisior] 1=Xen, 2=KVM =
21if [ $VMM_select == 1 ]; then
22    $Work_Path/xen_install.sh start
23else
24    $Work_Path/kvm_install.sh
25fi
26
27# = 2. Patch DRBL =                                                                                                               
28$Work_Path/drbl_xen_patch.sh
29 
30# = 3. drbl_xen_repush.sh =
31$Work_Path/drbl_xen_repush.sh
32
33# = 4. Create User(drbl-virter) and mv drbl-virt.wat to tomcat =
34creat_drbl-virter
35install_tomcat_and_mv_drbl-virt
Note: See TracBrowser for help on using the repository browser.