Changeset 205
- Timestamp:
- Sep 9, 2010, 9:53:01 AM (14 years ago)
- Location:
- drbl-virt/sbin
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
drbl-virt/sbin/drbl_xen_patch.sh
r191 r205 17 17 # = 1. Patch DRBL xen env for client = 18 18 # == Shutdown all drbl client == 19 echo "" 19 20 echo "Please check all client are shutdown !!!" 20 21 echo "you can use /opt/drbl/sbin/dcs to shutdown." -
drbl-virt/sbin/functions_drbl_virt
r204 r205 197 197 VM_first_IP=$(echo $Host_last_IP | cut -d "." -f 1-3) 198 198 VM_first_IP="${VM_first_IP}.${Host_last_IP_4}" 199 drbl_original_clients_nu=$(sed -n '/total_client_no/p' /etc/drbl/drblpush.conf | sed 's/total_client_no=//') 200 199 201 200 202 echo "The VM IP Range will start from -> [$VM_first_IP]" … … 204 206 echo "" 205 207 echo "Input VM number/IP range for $eth (ex. 40)." 208 echo "default is the same numbers of drbl clients" 209 206 210 207 211 jude_2="no" … … 209 213 do 210 214 jude_2="yes" 211 read -p "(If you have 10 PCs(4-core), suggestion is 30): " VM_IP_range 215 echo "(If you have 10 PCs(4-core), suggestion is 30): " 216 read -p "[$drbl_original_clients_nu] " VM_IP_range 212 217 if [ $((${VM_IP_range}+${Host_last_IP_4})) -ge 254 ]; then 213 218 echo "range can't greater than 254"
Note: See TracChangeset
for help on using the changeset viewer.