Changeset 188 for drbl-virt/sbin/functions_drbl_virt
- Timestamp:
- Aug 26, 2010, 6:17:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
drbl-virt/sbin/functions_drbl_virt
r187 r188 105 105 declare -i j=1 106 106 echo "" 107 107 echo "Choose Xen-enabled Kernel" 108 108 if [ $Kernels_nu -gt 1 ]; then 109 109 for Kernel in $Kernels … … 272 272 273 273 function generate_Xen_MAC_address(){ 274 echo "eth $eth"275 echo "VM_Host_totoal_nu $VM_Host_totoal_nu"276 echo "Host_last_IP_4 $Host_last_IP_4"277 echo "VM_prefix_eth $VM_prefix_eth"274 #echo "eth $eth" 275 #echo "VM_Host_totoal_nu $VM_Host_totoal_nu" 276 #echo "Host_last_IP_4 $Host_last_IP_4" 277 #echo "VM_prefix_eth $VM_prefix_eth" 278 278 279 279 # /opt/drbl-virt/etc/macadr-VM-ethX.txt … … 287 287 288 288 # backup 289 if [ -e /opt/drbl-virt/etc/macadr-VM-$eth.txt ]; then 289 290 mv -f /opt/drbl-virt/etc/macadr-VM-$eth.txt /opt/drbl-virt/etc/macadr-VM-$eth.txt.$(date +%Y-%m-%d-%H-%M-%S).drbl-virt_bak 291 fi 290 292 291 293 # generate MAC
Note: See TracChangeset
for help on using the changeset viewer.