image_build: accept Kiwi vagrant image name format

According to Neal, Vagrant images produced by Kiwi end in e.g.
`vagrant.libvirt.box` and `vagrant.virtualbox.box` - with a
period between `vagrant` and the image type, not a dash as with
oz. We should accept this slightly different format so we can
correctly derive the productmd `type` and `format` for these.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-03-06 10:38:45 -08:00
parent b8e26bfb64
commit 93b4b4ae0f

View File

@ -34,8 +34,8 @@ EXTENSIONS = {
"rhevm-ova": ["rhevm.ova"], "rhevm-ova": ["rhevm.ova"],
"tar-gz": ["tar.gz"], "tar-gz": ["tar.gz"],
"vagrant-hyperv": ["vagrant-hyperv.box"], "vagrant-hyperv": ["vagrant-hyperv.box"],
"vagrant-libvirt": ["vagrant-libvirt.box"], "vagrant-libvirt": ["vagrant-libvirt.box", "vagrant.libvirt.box"],
"vagrant-virtualbox": ["vagrant-virtualbox.box"], "vagrant-virtualbox": ["vagrant-virtualbox.box", "vagrant.virtualbox.box"],
"vagrant-vmware-fusion": ["vagrant-vmware-fusion.box"], "vagrant-vmware-fusion": ["vagrant-vmware-fusion.box"],
"vdi": ["vdi"], "vdi": ["vdi"],
"vmdk": ["vmdk"], "vmdk": ["vmdk"],