foreman_fog_proxmox
foreman_fog_proxmox copied to clipboard
Allow creating qcow2 disks
Is your feature request related to a problem? Please describe. Currently disks get created with type RAW however i need them created with type qcow2
Describe the solution you'd like Allow choosing disk type when creating VMs
Image disk format depends on storage type as described on proxmox doc:
Storages which present block devices (LVM, ZFS, Ceph) will require the raw disk image format, whereas files based storages (Ext4, NFS, CIFS, GlusterFS) will let you to choose either the raw disk image format or the QEMU image format
In Proxmox GUI, user can't choose it, except when storage type is file based. Otherwise, it is computed by Proxmox with storage type.
hi @tristanrobert, Foreman UI should allow defining the format, we are using an NFS storage on proxmox but format is always defined as RAW even when the default format on proxmox UI seems to be qcow2 when creating a virtual machine. Problem with defaulting to RAW is that its not possible to do snapshots of VMs created using foreman.
Thanks