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 | |
---|
| 11 | # [Source] |
---|
[171] | 12 | source /opt/drbl-virt/conf/drbl-virt.conf |
---|
| 13 | source /opt/drbl-virt/sbin/functions_drbl_virt |
---|
[156] | 14 | # [Main] |
---|
[161] | 15 | install_drbl-virt_dir |
---|
[156] | 16 | cpu_check |
---|
| 17 | check_systemInfo |
---|
| 18 | VMM_select |
---|
[171] | 19 | #check_root |
---|
[156] | 20 | |
---|
[161] | 21 | # [Install VMM/Hypervisior] 1=Xen, 2=KVM |
---|
[156] | 22 | if [ $VMM_select == 1 ]; then |
---|
[171] | 23 | source xen_install.sh |
---|
[156] | 24 | else |
---|
[171] | 25 | source kvm_install.sh |
---|
[156] | 26 | fi |
---|
| 27 | |
---|
[157] | 28 | # [DRBL Environment Configuration] |
---|
| 29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.