Last change
on this file since 167 was
161,
checked in by rock, 14 years ago
|
Add: drbl_patch.sh drbl_virt_remove.sh conf/xend-config.sxp
|
File size:
625 bytes
|
Rev | Line | |
---|
[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 | |
---|
[161] | 11 | # [PATH] |
---|
| 12 | Work_Home="/opt/drbl-virt" |
---|
| 13 | Work_Path="/opt/drbl-virt/sbin" |
---|
| 14 | PATH=${PATH}:$Work_Path |
---|
| 15 | |
---|
[156] | 16 | # [Source] |
---|
[161] | 17 | source funs_drbl_virt |
---|
[156] | 18 | |
---|
| 19 | # [Main] |
---|
[161] | 20 | install_drbl-virt_dir |
---|
[156] | 21 | cpu_check |
---|
| 22 | check_systemInfo |
---|
| 23 | VMM_select |
---|
| 24 | |
---|
[161] | 25 | # [Install VMM/Hypervisior] 1=Xen, 2=KVM |
---|
[156] | 26 | if [ $VMM_select == 1 ]; then |
---|
| 27 | source xen_intall.sh |
---|
| 28 | else |
---|
| 29 | source kvm_intall.sh |
---|
| 30 | fi |
---|
| 31 | |
---|
[157] | 32 | # [DRBL Environment Configuration] |
---|
| 33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.