Changeset 203 for drbl-virt/sbin/drbl_PXE_PV-VM_create.sh
- Timestamp:
- Aug 30, 2010, 6:10:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
drbl-virt/sbin/drbl_PXE_PV-VM_create.sh
r200 r203 126 126 # = 2. Get VM MAC address = 127 127 #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 129 IP_VM_files=$(ls $Work_Home/IP_VM_eth[0-9]*) 129 130 IP_VM_right_file="" 130 131 IP_VM_right_line="" … … 142 143 if [ -z $IP_VM_right_file ]; then 143 144 echo "" 144 echo " Error:don't fine ${vm_name}'s IP address"145 echo "[Error] don't fine ${vm_name}'s IP address" 145 146 echo "Please check $Wokr_Home/etc/" 146 147 exit 2 … … 176 177 echo "extra = 'console=hvc0 xencons=tty'" >> $vm_cfg 177 178 179 # 180 echo "$vm_cfg is completion" 181 echo "Use this command drbl_PXE_PV-VM_deploy.sh to deploy vm"
Note: See TracChangeset
for help on using the changeset viewer.