Ignore:
Timestamp:
Oct 20, 2010, 3:33:09 PM (14 years ago)
Author:
rock
Message:

Add: KVM PXE VM deployment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • drbl-virt/sbin/check_drbl_total_vm

    r208 r219  
    2727    # local variables
    2828    vm_IPs=$(cat $vm_IP_file | awk '{print $1}')
    29     IP_status="online"
    3029
    3130    for vm_IP in $vm_IPs
    3231    do
    3332        # check network status
     33        IP_status="online"
    3434        ping -c1 -w1 $vm_IP > /dev/null 2>&1 || IP_status="offline"
    3535        vm_IP_Hostname=$(sed -n "/$vm_IP/p" $vm_IP_file)
Note: See TracChangeset for help on using the changeset viewer.