Last change
on this file since 179 was
179,
checked in by rock, 15 years ago
|
Add: Create DRBL PV-VM
|
-
Property svn:executable set to
*
|
File size:
897 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 | # == Get VM IP prefix hostname == # |
---|
27 | |
---|
28 | |
---|
29 | # = 1. Copy VM fs = |
---|
30 | |
---|
31 | # = 2. Add NFS config = |
---|
32 | |
---|
33 | # = 3. Add DHCP config = |
---|
34 | |
---|
35 | # = 4. Add hosts and cp it to all drbl client = |
---|
36 | |
---|
37 | # = 5. generate guest config file = |
---|
Note: See
TracBrowser
for help on using the repository browser.