Last change
on this file since 178 was
178,
checked in by rock, 14 years ago
|
Add: (1)client xend enabled (2)setup VM IP range
|
-
Property svn:executable set to
*
|
File size:
860 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | # Program: |
---|
3 | # Path DRBL evironment to support Xen/KVM |
---|
4 | # Author: |
---|
5 | # Jazz, Rock {jazz, rock}@nchc.org.tw |
---|
6 | # Version: |
---|
7 | # 1.0 |
---|
8 | # History: |
---|
9 | # 2010/08/13 Rock First release (1.0) |
---|
10 | |
---|
11 | # [Source] |
---|
12 | source /opt/drbl-virt/conf/drbl-virt.conf |
---|
13 | source $Work_Path/functions_drbl_virt |
---|
14 | |
---|
15 | # [Main] |
---|
16 | # = 0. Variables setup = |
---|
17 | # == Get Host IP range/number == # |
---|
18 | Host_first_IP="" |
---|
19 | Host_final_IP="" |
---|
20 | get_Host_IP_range |
---|
21 | # == Get VM IP range/number == # |
---|
22 | VM_IP_range="" |
---|
23 | VM_first_IP="" |
---|
24 | VM_final_IP="" |
---|
25 | get_VM_IP_range |
---|
26 | |
---|
27 | |
---|
28 | # = 1. Copy VM fs = |
---|
29 | |
---|
30 | # = 2. Add NFS config = |
---|
31 | |
---|
32 | # = 3. Add DHCP config = |
---|
33 | |
---|
34 | # = 4. Add hosts and cp it to all drbl client = |
---|
35 | |
---|
36 | # = 5. generate guest config file = |
---|
Note: See
TracBrowser
for help on using the repository browser.