Re: [Openstack] Create a custom CentOS 7.x image

2015-10-22 Thread José Riguera López
Hi Jagga, You can use packer. In our case, we needed some special images with LVM, so I decided to use packer to create qcow2 images. Have a look here: https://github.com/jriguera/packer-ironic-images/tree/master/ubuntu You have to change the cloud-init configuration to add the OpenStack metadata

Re: [Openstack] Create a custom CentOS 7.x image

2015-10-22 Thread Nasir Mahmood
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. qemu-img convert CentOS-TEMPLATE-disk1.vmdk -O qcow2 CentOS-TEMPLATE-disk1.qcow2 You might have to change the syntax . Hi Guys, I am new to openstack and ha

[Openstack] Create a custom CentOS 7.x image

2015-10-21 Thread Jagga Soorma
Hi Guys, I am new to openstack and have been using images provided by others in my test cloud. However, I am trying to so some customization and need to build my own image. I built CentOS 7.1 on my virtualbox instance and went through the following steps: -- /etc/default/grub - fixed this file