Ignore:
Timestamp:
Aug 26, 2010, 5:24:32 PM (14 years ago)
Author:
rock
Message:

BugFix?: some install error

File:
1 edited

Legend:

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

    r185 r187  
    5757    VM_hosts=$(cat /opt/drbl-virt/etc/IP_VM_$eth | awk '{print $2}')
    5858    VM_MACs=$(cat /opt/drbl-virt/etc/macadr-VM-$eth.txt)
     59
     60    echo -e "VM_IPs=$VM_IPs \n VM_IPs_nu=$VM_IPs_nu \n VM_hosts=$VM_hosts \n VM_MACs=$VM_MACs"
     61
    5962    # delete duplicating value(ip,hostname) in IP_HOST_TABLE
    6063    if [ -e /etc/drbl/IP_HOST_TABLE ]; then
     
    6265    fi
    6366    # add ip & hostname
    64     $Work_Path/add_value /opt/drbl-virt/etc/IP_VM_$eth /etc/drbl/IP_HOST_TABLE
     67    $Work_Path/add_value /opt/drbl-virt/etc/IP_VM_$eth /etc/drbl/IP_HOST_TABLE $eth
    6568   
    6669    # == Add Mac address to macadr-ethX.txt ==
     
    6871    $Work_Path/duplicate_del_MAC /etc/drbl/macadr-$eth.txt
    6972    fi
    70 
     73    cat /opt/drbl-virt/etc/macadr-VM-$eth.txt >> /etc/drbl/macadr-$eth.txt
    7174done
    7275     
Note: See TracChangeset for help on using the changeset viewer.