add smartos support and fix arch for ubuntu cloud images