source: drbl-virt/sbin/kvm_install.sh @ 190

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

Modify: Patch order

File size: 725 bytes
Line 
1#!/bin/bash
2# Program:
3#   DRBL virt module (kvm_install.sh)
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
11source /opt/drbl-virt/conf/drbl-virt.conf
12source $Work_Path/functions_drbl_virt
13
14# [ Intall ]
15case $Linux_Distribution in
16    # for Ubuntu
17    "Ubuntu")
18        aptitude update ; aptitude install kvm
19    ;;
20    # for Debian
21    "Debian")
22        aptitude update ; aptitude install kvm
23    ;;
24    # for Fedora
25    "Fedora")       
26        echo "Only support Debain & Debian"
27    ;;
28    *)
29        echo "Only support Debain & Debian"
30    ;;
31esac
Note: See TracBrowser for help on using the repository browser.