source: drbl-virt/sbin/drbl_PXE_VM_create.sh @ 178

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
RevLine 
[178]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]
12source /opt/drbl-virt/conf/drbl-virt.conf
13source $Work_Path/functions_drbl_virt
14
15# [Main]
16# = 0. Variables setup =
17# == Get Host IP range/number  == #
18Host_first_IP=""
19Host_final_IP=""
20get_Host_IP_range
21# == Get VM IP range/number  == #
22VM_IP_range=""
23VM_first_IP=""
24VM_final_IP=""
25get_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.