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 | |
---|
[175] | 11 | source /opt/drbl-virt/conf/drbl-virt.conf |
---|
| 12 | source $Work_Path/functions_drbl_virt |
---|
| 13 | |
---|
[156] | 14 | # [ Intall ] |
---|
| 15 | case $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 | ;; |
---|
| 31 | esac |
---|
Note: See
TracBrowser
for help on using the repository browser.