Patches to fix openvz template adding.