Create VM using pre-baked qcow2

FaZ

New Member
Jun 2, 2017
2
0
1
34
I am trying to create a VM on Proxmox 4 using one of the qcow2 images from cloud.centos.org/centos/7/images/

Is there a recommended way to do it? It's not possible from the Proxmox web GUI.
 
Create a dummy qcow2 disk in the GUI attached to the VM. Then remove from the VM. In the CLI, 'mv' the qcow2 image you want to use on top of the dummy one. In the GUI, re-attach the 'unused' qcow2 disk to the VM. I've done something like this...
 
PVE 5.0 will include a tool to import external disk images to an existing VM.
So you will be able to do

qm create 501
qm importdisk 501 my_qcow2 my_storage_id

the disk will appear then as "unused disk" in the gui, and you then attach the disk to a virtio blk, sata or scsi controller
 
  • Like
Reactions: pixel

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!