Repository code for virtual images automation