Changeset 188 for drbl-virt/sbin
- Timestamp:
- Aug 26, 2010, 6:17:08 PM (14 years ago)
- Location:
- drbl-virt/sbin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
drbl-virt/sbin/drbl_xen_patch.sh
r187 r188 24 24 check_xen_nu 25 25 Xen_Kernel=$(echo $Xen_Kernel | sed 's/^vmlinuz-//g' ) 26 26 echo $Xen_Kernel > $Work_Home/etc/Xen_Kernel 27 27 # == Copy xen image to /tftpboot/nbi_img/ == 28 28 echo "copy Xen image & Kernel to /tftpboot/nbi_img/" -
drbl-virt/sbin/drbl_xen_repush.sh
r187 r188 77 77 # = 2. Re-deploy drbl client = 78 78 # == Cheange Xen Kernel == 79 Xen_Kernel=$(cat $Work_Home/etc/Xen_Kernel) 80 read -p "Xen_Kernel=$Xen_Kernel" 79 81 echo "/opt/drbl/sbin/drblsrv-offline -s $Xen_Kernel" 80 82 /opt/drbl/sbin/drblsrv-offline -s $Xen_Kernel -
drbl-virt/sbin/functions_drbl_virt
r187 r188 105 105 declare -i j=1 106 106 echo "" 107 107 echo "Choose Xen-enabled Kernel" 108 108 if [ $Kernels_nu -gt 1 ]; then 109 109 for Kernel in $Kernels … … 272 272 273 273 function generate_Xen_MAC_address(){ 274 echo "eth $eth"275 echo "VM_Host_totoal_nu $VM_Host_totoal_nu"276 echo "Host_last_IP_4 $Host_last_IP_4"277 echo "VM_prefix_eth $VM_prefix_eth"274 #echo "eth $eth" 275 #echo "VM_Host_totoal_nu $VM_Host_totoal_nu" 276 #echo "Host_last_IP_4 $Host_last_IP_4" 277 #echo "VM_prefix_eth $VM_prefix_eth" 278 278 279 279 # /opt/drbl-virt/etc/macadr-VM-ethX.txt … … 287 287 288 288 # backup 289 if [ -e /opt/drbl-virt/etc/macadr-VM-$eth.txt ]; then 289 290 mv -f /opt/drbl-virt/etc/macadr-VM-$eth.txt /opt/drbl-virt/etc/macadr-VM-$eth.txt.$(date +%Y-%m-%d-%H-%M-%S).drbl-virt_bak 291 fi 290 292 291 293 # generate MAC
Note: See TracChangeset
for help on using the changeset viewer.