Difference between revisions of "Development VM Release Process" - Gallery Codex
Personal tools

Difference between revisions of "Development VM Release Process"

From Gallery Codex

Line 2: Line 2:
  
 
* Run aptitude update to get updated packages
 
* Run aptitude update to get updated packages
* run cat /dev/zero > zero.fill;sync;sleep 1;sync;rm -f zero.fill inside the VM to zerofill the available empty space
+
* run cat /dev/zero > zero.fill;sync;sleep 1;sync;rm -f zero.fill  
 +
:: This command is run inside the VM to zerofill the available empty space
 
* On the host machine, running vmware server, run vmware-vdiskmanager.exe -k g2-developer-vm-*
 
* On the host machine, running vmware server, run vmware-vdiskmanager.exe -k g2-developer-vm-*
 +
::This shrinks the vmdk files
 
* Zip up the whole g2-developer-vm directory. I used 7-zip to create a maximum compression (Level 9) .bz2 file
 
* Zip up the whole g2-developer-vm directory. I used 7-zip to create a maximum compression (Level 9) .bz2 file
 
* Upload to sf.net
 
* Upload to sf.net

Revision as of 17:36, 9 January 2007

Rough Outline

  • Run aptitude update to get updated packages
  • run cat /dev/zero > zero.fill;sync;sleep 1;sync;rm -f zero.fill
This command is run inside the VM to zerofill the available empty space
  • On the host machine, running vmware server, run vmware-vdiskmanager.exe -k g2-developer-vm-*
This shrinks the vmdk files
  • Zip up the whole g2-developer-vm directory. I used 7-zip to create a maximum compression (Level 9) .bz2 file
  • Upload to sf.net
advertisements