Use the Electric Razor MK

This means you can now tag VMs directly with:

    VBoxManage guestproperty set <vm name> vagrant_os ubuntu-precise