#!/bin/bash # Program: # Path DRBL evironment to support Xen/KVM # Author: # Jazz, Rock {jazz, rock}@nchc.org.tw # Version: # 1.0 # History: # 2010/08/13 Rock First release (1.0) # [Source] source /opt/drbl-virt/conf/drbl-virt.conf source $Work_Path/functions_drbl_virt # [Main] # = 0. Variables setup = # == Get Host IP range/number == # Host_first_IP="" Host_final_IP="" get_Host_IP_range # == Get VM IP range/number == # VM_IP_range="" VM_first_IP="" VM_final_IP="" get_VM_IP_range # = 1. Copy VM fs = # = 2. Add NFS config = # = 3. Add DHCP config = # = 4. Add hosts and cp it to all drbl client = # = 5. generate guest config file =