Ignore:
Timestamp:
Aug 30, 2010, 6:10:37 PM (14 years ago)
Author:
rock
Message:

Add Function Code: intergated xen command (drbl_xen_cmd.sh)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • drbl-virt/sbin/drbl_PXE_PV-VM_create.sh

    r200 r203  
    126126# = 2. Get VM MAC address =
    127127#IP_MAC_files=$(ls $Work_Home/etc | grep 'macadr-VM-eth[0-9]*.txt')
    128 IP_VM_files=$(ls $Work_Home/etc | grep 'IP_VM_eth[0-9]*')
     128
     129IP_VM_files=$(ls $Work_Home/IP_VM_eth[0-9]*)
    129130IP_VM_right_file=""
    130131IP_VM_right_line=""
     
    142143if [ -z $IP_VM_right_file ]; then
    143144    echo ""
    144     echo "Error: don't fine ${vm_name}'s IP address"
     145    echo "[Error] don't fine ${vm_name}'s IP address"
    145146    echo "Please check $Wokr_Home/etc/"
    146147    exit 2
     
    176177echo "extra = 'console=hvc0 xencons=tty'" >> $vm_cfg
    177178
     179#
     180echo "$vm_cfg is completion"
     181echo "Use this command drbl_PXE_PV-VM_deploy.sh to deploy vm"
Note: See TracChangeset for help on using the changeset viewer.