Changeset 221 for drbl-virt


Ignore:
Timestamp:
Oct 26, 2010, 9:32:40 AM (14 years ago)
Author:
rock
Message:

Bugfix: fix copy sequence

Location:
drbl-virt
Files:
5 edited

Legend:

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

    r219 r221  
    172172#
    173173echo "$vm_cfg is completion"
    174 echo "Use this command drbl_PXE_PV-VM_deploy.sh to deploy vm"
     174echo "Use this command drbl_PXE_PV-VM_deploy to deploy vm"
  • drbl-virt/sbin/drbl_xen_patch.sh

    r219 r221  
    8383# /opt/drbl/sbin/drbl-client-service xend on
    8484
    85 # = 5. cp xen kernel & initrd to /home/domains =
    86 if [ ! -e /home/domains ]; then
    87     mkdir /home/domains
    88 fi
    89 cp /tftpboot/nbi_img/*xen* /home/domains
    90 cp /tftpboot/nbi_img/vmlinuz-pxe /home/domains
    91 cp /tftpboot/nbi_img/initrd-pxe.img /home/domains
    9285
  • drbl-virt/sbin/drbl_xen_repush.sh

    r216 r221  
    9191/opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf
    9292echo ""
     93
     94
     95# = 3. Copy xen kernel & initrd to /home/domains =
     96if [ ! -e /home/domains ]; then
     97    mkdir /home/domains
     98fi
     99cp -f /tftpboot/nbi_img/*xen* /home/domains
     100cp -f /tftpboot/nbi_img/vmlinuz-pxe /home/domains
     101cp -f /tftpboot/nbi_img/initrd-pxe.img /home/domains
     102
     103
     104# = 4. Complete =
     105echo -e "\n[Install completion]"
     106echo "You can use $Work_Path/check_drbl_client to check DRBL Client !"
     107echo "You alse can use $Work_Path/check_drbl_total_vm to check DRBL VM !"
  • drbl-virt/sbin/functions_drbl_virt

    r215 r221  
    337337
    338338# delete tmp file
    339 rm /tmp/drbl-virt_MAC
     339rm /tmp/drbl-virt_MAC >> /dev/null
    340340}
    341341
  • drbl-virt/tar_drbl-virt.sh

    r218 r221  
    22
    33# [Version Setup]
    4 version="0.1"
     4version="0.2"
    55
    66# [Main]
    77cd ../
    8 tar zcvf drbl-virt-${version}_$(date +%Y-%m-%d-%H-%M-%S).tar.gz --exclude=.svn  drbl-virt
     8tar zcvf drbl-virt-${version}_$(date +%Y-%m-%d-%H-%M-%S).tar.gz --exclude=.svn  --exclude=tar_drbl-virt.sh drbl-virt
Note: See TracChangeset for help on using the changeset viewer.