Actually, I also managed to add a Public Image form Ubuntu:
https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img

I found a blog post on how to use ubuntu cloud images with KVM and turns out 
that .img files are qcow2

I can also confirm that cloud init works, and I see virtio_blk and virtio_net 
kernel modules loaded.

I also tried hot-resizing the data disk on this VM, and worked just fine. It 
all seems good to me.

But Again, I am not sure whether additional customizations are required or not.

If all these official images are in a good state for ACS to consume, perhaps we 
should list the sources and importing procedure in ACS documentation. 

R


On Mon, 2022-05-16 09:21 AM, Rafael del Valle <[email protected]> wrote:
> Hi Felipe,
> 
> I was wondering exactly the same thing. Now most Linux distributions publish 
> cloud images, including a "generic" version targeting KVM for example, most 
> with cloud-init and virtio drivers already there.
> 
> Is it possible that they are already optimized for ACS?
> 
> I just tested adding Debian 10 generic from here:
> https://cloud.debian.org/images/cloud/buster/latest/debian-10-generic-amd64.qcow2
> 
> It booted just find, and cloud init worked, lsmod is showing virtio drivers 
> in use too.
> 
> Are other customizations still required?
> 
> Are there other Linux distributions that publish compatible cloud images?
> 
> 
> 
> 
> On Wed, 2022-05-04 05:20 PM, Felipe Polanco " 
> target="_blank"><[email protected]> wrote:
> > Hello,
> > 
> > Is it possible to use cloud images from popular Linux OS like Ubuntu or
> > Centos?
> > 
> > I have added them as templates but none of the boot on a new instance, the
> > bootloader is stuck at "Booting from hard disk..."
> > 
> > URL:
> > https://cloud-images.ubuntu.com/focal/current/
> > Using the amd64-disk-kvm.img as qcow2 template.
> > 
> > Thanks,
> > 

Reply via email to