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

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

Modify: the same

File size: 587 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
11# [Source]
[171]12source /opt/drbl-virt/conf/drbl-virt.conf
[175]13source $Work_Path/functions_drbl_virt
[156]14# [Main]
15cpu_check
16check_systemInfo
17VMM_select
[171]18#check_root
[156]19
[161]20# [Install VMM/Hypervisior] 1=Xen, 2=KVM
[156]21if [ $VMM_select == 1 ]; then
[178]22    bash "xen_install.sh start"
[156]23else
[178]24    bash "kvm_install.sh"
[156]25fi
26
[157]27# [DRBL Environment Configuration]
28
Note: See TracBrowser for help on using the repository browser.