build.py: making ovf generation more generic