This is one of the coolest features ever. The longest part is just downloading the files. To optimize that:


# sudo apt-get install apt-proxy

Once that is installed, run:


# sudo ubuntu-vm-builder kvm hardy --mirror http://127.0.0.1:9999/ubuntu

Wow. There is your vm. On my *laptop* this build took:

real 2m44.658s
user 0m34.270s
sys 0m24.262s

If you want to make a vmware image, and have open-vm-tools installed already, add this line to your apt-proxy’s sources.list:

# deb http://ppa.launchpad.net/sharms/ubuntu hardy main

Then:

# apt-get update

Then run:

# sudo ubuntu-vm-builder vmserver hardy --mirror http://127.0.0.1:9999/ubuntu --addpkg open-vm-tools

Related posts:

  1. Novell Groupwise 7 SP3 on Ubuntu Gutsy / Hardy
  2. Creating a virtual machine using ubuntu-kvm-builder
  3. Hardy-proposed kernel update
  4. Fun with Amazon S3 in Ubuntu Hardy
  5. Installing VMWare tools