<p dir="ltr">Best idea is to convert the vmdk or the virtualbox image directly to qcow2 format like below and then do all those customizations later on.<br></p>
<p dir="ltr">qemu-img convert CentOS-TEMPLATE-disk1.vmdk -O qcow2 CentOS-TEMPLATE-disk1.qcow2</p>
<p dir="ltr">You might have to change the syntax .<br>
</p>
<div class="gmail_quot<blockquote class=" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys,<br>
<br>
I am new to openstack and have been using images provided by others in<br>
my test cloud.  However, I am trying to so some customization and need<br>
to build my own image.  I built CentOS 7.1 on my virtualbox instance<br>
and went through the following steps:<br>
<br>
--<br>
/etc/default/grub - fixed this file to get console working<br>
grub2-mkconfig -o /boot/grub2/grub.cfg<br>
echo "NOZEROCONF=yes" >> /etc/sysconfig/network<br>
yum install acpid -y<br>
systemctl enable acpid<br>
systemctl disable firewalld<br>
yum install cloud-init -y<br>
yum install cloud-utils-growpart -y<br>
cleanup /etc/sysconfig/network-scripts/ifcfg-*<br>
--<br>
<br>
Just want to get a basic image working before I do any customization.<br>
After following these steps (I choose qcow as the virtualbox image<br>
format) I upload the image into my cluster using:<br>
<br>
glance image-create --name "testimg3" --disk-format qcow2<br>
--container-format bare --file centos71.qcow --progress<br>
<br>
However, when deploying from this image I see that on console the boot<br>
drive is not being found.  Now, on my virtualbox the local drive shows<br>
up as /dev/sda* but in kvm it is /dev/vda*.  I haven't read anywhere<br>
in the docs that there is something that I need to do for this but<br>
seems like what is missing.  Is there something that needs to be done<br>
on my virtualbox instance before shutting it down to make sure the<br>
correct disk is found and the os can boot.  In the fstab I see that<br>
the disk is being referenced with uuid in my virtualbox instance.<br>
<br>
Any help would be greatly appreciated!<br>
<br>
Thanks.<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div>