← Back to team overview

cloud-init-dev team mailing list archive

Using Cloud-init to configure vm instances spawned in the absence of a cloud-platform

 

Environment  :

host_OS : ubuntu14.04,
                                     vm_image :
ubuntu_14.04.qcow2
hypervisor: KVM ( We are not using openstack, aws ec2  or other cloud
platforms )

Problem faced :

As given in this blog
http://blog.oddbit.com/2015/03/10/booting-cloud-images-with-libvirt/ , I
have made a simple .iso file from my user-data and meta-data . I have
received an error with virt-install command given in the blog :

*$ virt-install -n cld_int -r 512 -w network=default --disk
vol=/home//Fedora-Atomic-25-20170106.0.x86_64.qcow2 --import --disk
path=config.iso,device=cdrom*

*ERROR Error with storage parameters: Couldn't lookup volume object:
Storage pool not found: no storage pool with matching name ''*


I would like to know how to get around this error and configure my vm
instances using cloud-init. If possible , it would be a great if there is
some explaination of how cloud-init works ? apart from making sure that the
qcow2 image comes with pre-installed cloud-init should I do anything else
with qcow2 image ?



Thanks for your time and patience ,

Sincerely ,

Aditya S