How do I deploy a virtualized server on a headless machine running 12.04 Server?

I'm going to keep a running log of the progress that I've made so far. I'll clean this up later and post it as an answer if I succeed.

Day 1

  1. I'm mainly using this tutorial. Note that it was originally for 9.10 /and/ it assumes that the primary network interface is eth0. I'm using a wireless card as my primary interface. As a sidenote, I'm not sure that using libvirt is the best way to go. We'll see.
  2. It's true that bridging off a wireless card isn't supported out of the box. Here is a howto on how to get around that (note that this howto builds off another one). I've tried it but because I'm still trying to use libvirt to manage my VMs, I haven't verified that this workaround works.
  3. With regard to what the flow of control looks like, tuxradar has a pretty good article. Here's the diagram from that article: Virtualization.

Day 2

  1. I got my VM to boot. I ran vmbuilder --debug --verbose with this as my config file in /etc/vmbuilder.cfg. I ran the most basic partition setup. Use google to see what to put in the vmbuilder.partition file. This takes a long time and I couldn't figure out how to install apt-proxy. If you can install apt-proxy, I would do it.

  2. Still can't get networking to work. The guest OS can't see the host OS and vice versa.