Changeset 205 for drbl-virt/sbin/functions_drbl_virt
- Timestamp:
- Sep 9, 2010, 9:53:01 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.