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

Last change on this file since 169 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
RevLine 
[156]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
[161]11# [PATH]
12Work_Home="/opt/drbl-virt"
13Work_Path="/opt/drbl-virt/sbin"
14PATH=${PATH}:$Work_Path
15
[156]16# [Source]
[161]17source funs_drbl_virt
[156]18
19# [Main]
[161]20install_drbl-virt_dir
[156]21cpu_check
22check_systemInfo
23VMM_select
24
[161]25# [Install VMM/Hypervisior] 1=Xen, 2=KVM
[156]26if [ $VMM_select == 1 ]; then
27    source xen_intall.sh
28else
29    source kvm_intall.sh
30fi
31
[157]32# [DRBL Environment Configuration]
33
Note: See TracBrowser for help on using the repository browser.