Ignore:
Timestamp:
Aug 30, 2010, 2:18:14 PM (14 years ago)
Author:
rock
Message:

Add: Automatic packaging drbl-virt (tar_drbl-virt.sh)

File:
1 edited

Legend:

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

    r200 r202  
    2424    # local variables
    2525    IP_status="online"
    26     client_hostname="$(cat $Work_Home/etc/IP_HOST_TABLE | grep -v "#" | awk '{print $2}')"
     26    client_hostname="$(cat $Work_Home/etc/IP_HOST_TABLE | grep -v "#" | grep $client_IP | awk '{print $2}')"
    2727    vm_numbers=""
    2828    vm_hostnames=""
     
    5858            i=i+1
    5959        done
    60    
     60        echo ""
    6161    else
    62         echo "[Error] $client_hostname $client_IP is offline !" && exit 2
     62        echo "[Error] $client_hostname $client_IP is offline !"
    6363
    6464    fi
Note: See TracChangeset for help on using the changeset viewer.