- Timestamp:
- Oct 26, 2010, 9:32:40 AM (14 years ago)
- Location:
- drbl-virt
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
drbl-virt/sbin/drbl_PXE_PV-VM_create
r219 r221 172 172 # 173 173 echo "$vm_cfg is completion" 174 echo "Use this command drbl_PXE_PV-VM_deploy .shto deploy vm"174 echo "Use this command drbl_PXE_PV-VM_deploy to deploy vm" -
drbl-virt/sbin/drbl_xen_patch.sh
r219 r221 83 83 # /opt/drbl/sbin/drbl-client-service xend on 84 84 85 # = 5. cp xen kernel & initrd to /home/domains =86 if [ ! -e /home/domains ]; then87 mkdir /home/domains88 fi89 cp /tftpboot/nbi_img/*xen* /home/domains90 cp /tftpboot/nbi_img/vmlinuz-pxe /home/domains91 cp /tftpboot/nbi_img/initrd-pxe.img /home/domains92 85 -
drbl-virt/sbin/drbl_xen_repush.sh
r216 r221 91 91 /opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf 92 92 echo "" 93 94 95 # = 3. Copy xen kernel & initrd to /home/domains = 96 if [ ! -e /home/domains ]; then 97 mkdir /home/domains 98 fi 99 cp -f /tftpboot/nbi_img/*xen* /home/domains 100 cp -f /tftpboot/nbi_img/vmlinuz-pxe /home/domains 101 cp -f /tftpboot/nbi_img/initrd-pxe.img /home/domains 102 103 104 # = 4. Complete = 105 echo -e "\n[Install completion]" 106 echo "You can use $Work_Path/check_drbl_client to check DRBL Client !" 107 echo "You alse can use $Work_Path/check_drbl_total_vm to check DRBL VM !" -
drbl-virt/sbin/functions_drbl_virt
r215 r221 337 337 338 338 # delete tmp file 339 rm /tmp/drbl-virt_MAC 339 rm /tmp/drbl-virt_MAC >> /dev/null 340 340 } 341 341 -
drbl-virt/tar_drbl-virt.sh
r218 r221 2 2 3 3 # [Version Setup] 4 version="0. 1"4 version="0.2" 5 5 6 6 # [Main] 7 7 cd ../ 8 tar zcvf drbl-virt-${version}_$(date +%Y-%m-%d-%H-%M-%S).tar.gz --exclude=.svn drbl-virt8 tar 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.