Create a CentOS image for OpenStack in CentOS6.3

Source: Internet
Author: User

Create a CentOS image for OpenStack in CentOS6.3

Reference:
Http://docs.openstack.org/essex/openstack-compute/admin/content/manually-creating-qcow2-images.html
Https://github.com/rackerjoe/oz-image-build/blob/master/templates/CentOS60_x86_64.tdl

Currently, there are many ways to create images for OpenStack on the Internet, but most of them are created through the command line. In fact, there is a convenient window program Virual Machine Manager in CentOS to create images for OpenStack. Next, let's take creating a CentOS6.3 image as an example to briefly describe the creation process.

Start the hypervisor

The management program can be started only when the root user logs on to the desktop. Therefore, we need to log on directly as the root user or through vnc and log on to the server as a graphical interface, enter virt-manager on the terminal or click Application System Tools Virtual Machine Manager to start the hypervisor. Of course, the premise is that you have installed the management program. If it is not installed, run the following command to install

  1. Yum install virt-manager virt-viewer
Create a virtual machine

Click Create VM to open the create VM dialog box, as shown in:

1. Name the virtual machine to be created, such as centos63, and select the installation method;
2. Select the installation file, operating system type, and version;
3. Configure the memory and CPU;
4. Create a disk. Here I select the second option. Click Browse, select New Volume to create a 7 GB qcow2 disk, and select the created disk file. As follows:

Continue until the VM interface is displayed, and then the system installation is completed. PS: When partitioning a disk, I only created one root partition, but not the boot and swap partitions.

  • 1
  • 2
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.