Gogs.io on Ubuntu 14.04
Create the VM
Create a VM using virt-install
and feed it a preseed.
$ sudo virt-install --name gogs --ram 1024 --vcpus=1,cpuset=3 --cpu host --disk path=/home/aorth/software/vms/gogs.qcow2,size=40,bus=virtio,format=qcow2 --bridge=br0 --os-variant ubuntusaucy --location http://ubuntu.mirror.ac.ke/ubuntu/dists/trusty/main/installer-amd64 --graphics vnc -x "auto=true priority=critical url=http://192.168.5.3/~aorth/preseed/gogs.cfg"
You will have to configure the network manually (you can't set the network configuration in the preseed when using a network-based preseed, apparently).