Automating the creation of virtual machines with libvirt