From f6a8404f9f934b7e86e52b149403e7efa28ed1e0 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Fri, 28 Mar 2025 04:44:56 -0400 Subject: [PATCH] modules: virtualization: Qcow2 should be the default Snapshots and so much more is only possible with qcow2. A long time ago it had performance issues, but things seem okay now. --- modules/virtualization/main.mcl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/virtualization/main.mcl b/modules/virtualization/main.mcl index 99a6ae02..deafeafa 100644 --- a/modules/virtualization/main.mcl +++ b/modules/virtualization/main.mcl @@ -68,8 +68,7 @@ class vm($name, $config) { # TODO: fix secondary auto-indexing with tmp-prefix (let it mutate old machines) $i = local.pool("libvirt-vm", $name) # the uid will always return the same int - # TODO: qcow2? - $format = $config->format || "raw" # used for file extension and parameter name + $format = $config->format || "qcow2" # used for file extension and parameter name $index = $config->index || $i $distro_uid = $config->distro_uid || "fedora41-x86_64" $sshkey struct{ssh_type str; ssh_key str; ssh_comment str} = $config->sshkey # TODO: unification