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

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

Add: DRBL patch for Xen

File size: 644 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
11# [ Intall ]
12case $Linux_Distribution in
13    # for Ubuntu
14    "Ubuntu")
15        aptitude update ; aptitude install kvm
16    ;;
17    # for Debian
18    "Debian")
19        aptitude update ; aptitude install kvm
20    ;;
21    # for Fedora
22    "Fedora")       
23        echo "Only support Debain & Debian"
24    ;;
25    *)
26        echo "Only support Debain & Debian"
27    ;;
28esac
Note: See TracBrowser for help on using the repository browser.