Rev | Line | |
---|
[156] | 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 ] |
---|
| 12 | case $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 | ;; |
---|
| 28 | esac |
---|
Note: See
TracBrowser
for help on using the repository browser.