Added support for Ubuntu images.