Ignore:
Timestamp:
Aug 26, 2010, 8:42:04 PM (14 years ago)
Author:
rock
Message:

Bugfix:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • drbl-virt/sbin/drbl_xen_repush.sh

    r188 r189  
    5858    VM_MACs=$(cat /opt/drbl-virt/etc/macadr-VM-$eth.txt)
    5959
    60     echo -e "VM_IPs=$VM_IPs \n VM_IPs_nu=$VM_IPs_nu \n VM_hosts=$VM_hosts \n VM_MACs=$VM_MACs"
     60    #echo -e "VM_IPs=$VM_IPs \n VM_IPs_nu=$VM_IPs_nu \n VM_hosts=$VM_hosts \n VM_MACs=$VM_MACs"
    6161
    6262    # delete duplicating value(ip,hostname) in IP_HOST_TABLE
    63     if [ -e /etc/drbl/IP_HOST_TABLE ]; then
    64     $Work_Path/duplicate_del /etc/drbl/IP_HOST_TABLE
    65     fi
     63    #if [ -e /etc/drbl/IP_HOST_TABLE ]; then
     64    #$Work_Path/duplicate_del /etc/drbl/IP_HOST_TABLE
     65    #fi
    6666    # add ip & hostname
    67     $Work_Path/add_value /opt/drbl-virt/etc/IP_VM_$eth /etc/drbl/IP_HOST_TABLE $eth
     67    #$Work_Path/add_value /opt/drbl-virt/etc/IP_VM_$eth /etc/drbl/IP_HOST_TABLE $eth
     68   
     69    # == delete duplicating MAC ==
    6870   
    6971    # == Add Mac address to macadr-ethX.txt ==
    7072    if [ -e /etc/drbl/macadr-$eth.txt ]; then
    71     $Work_Path/duplicate_del_MAC /etc/drbl/macadr-$eth.txt
     73    delete_duplicating_MAC
    7274    fi
    7375    cat /opt/drbl-virt/etc/macadr-VM-$eth.txt >> /etc/drbl/macadr-$eth.txt
Note: See TracChangeset for help on using the changeset viewer.