Changeset 180 for drbl-virt/sbin/drbl_PXE_PV-VM_deploy.sh
- Timestamp:
- Aug 19, 2010, 4:15:44 PM (14 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
drbl-virt/sbin/drbl_PXE_PV-VM_deploy.sh
r179 r180 15 15 # [Main] 16 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 == # 17 # == Get DRBL eth == 18 eths="" 19 declare -i eth_nu="" 20 get_DRBL_eth 21 22 if [ $eth_nu -gt "1" ]; then 23 echo "" 24 echo "DRBL environment has muiltpule netwrok card(NIC)." 25 fi 26 27 for eth in $eths 28 do 29 30 # == Get Host IP range/number == 31 Host_first_IP="" 32 Host_last_IP="" 33 get_Host_IP_range $eth 34 # == Get VM number & IP range == 35 VM_IP_range="" 36 VM_first_IP="" 37 VM_last_IP="" 38 get_VM_IP_range $eth 39 # == Get VM IP prefix hostname == 40 VM_prefix_name="" 41 get_VM_prefix_name $eth 42 43 done 27 44 28 45 29 46 # = 1. Copy VM fs = 47 # Kernel & initrd -> /home/domains 48 30 49 31 50 # = 2. Add NFS config =
Note: See TracChangeset
for help on using the changeset viewer.