show VM Images along with OS images in knife azure image list

Currently 'knife azure image list' command lists only OS images. So adding support to list VM images as well.
def vm_images and def os_images has same line of code. only one value is different.
So, can we make it DRY??