gns3-server icon indicating copy to clipboard operation
gns3-server copied to clipboard

GNS 3.0 server Error adding metadata-usb-re.img

Open zorklabs opened this issue 3 years ago • 9 comments

During adding new vMX image according to instruction https://docs.gns3.com/docs/how-to-guides/importing-vmx-and-vqfx-into-gns3/#importing-the-split-vm-public-releasestrials-of-vmx I'm unable to add metadata-usb-re.img

2022-08-17 06:55:43 INFO gns3server.utils.images:319 Writing image file to '/root/GNS3/images/metadata-usb-re.img'
2022-08-17 06:55:43 ERROR gns3server.api.server:90 Controller error: Could not save image 'metadata-usb-re.img': Could not detect image type, please make sure it is a valid image

Also, as other metadata* images.

zorklabs avatar Aug 17 '22 07:08 zorklabs

Currently, we only allow qcow2 and vmdk images for Qemu images. I am not sure we should allow 'raw' images since, unlike qcow2/vmdk, we cannot detect if this is a valid image or not.

One workaround would be to convert your images to use qcow2 using qemu-img convert

grossmj avatar Aug 28 '22 15:08 grossmj

Currently, we only allow qcow2 and vmdk images for Qemu images. I am not sure we should allow 'raw' images since, unlike qcow2/vmdk, we cannot detect if this is a valid image or not.

That excludes 32 appliances from the registry, including Cisco IOSv:

$ grep disk_image gns3-registry/appliances/*.gns3a | egrep -v "qcow2|vmdk" | uniq
gns3-registry/appliances/arista-veos.gns3a:                "hda_disk_image": "Aboot-veos-serial-8.0.0.iso",
gns3-registry/appliances/bird.gns3a:                "hda_disk_image": "bird-tinycore64-1.5.0.img"
gns3-registry/appliances/brocade-vtm.gns3a:                "hda_disk_image": "VirtualTrafficManager-110.img"
gns3-registry/appliances/brocade-vtm.gns3a:                "hda_disk_image": "VirtualTrafficManager-104R1.img"
gns3-registry/appliances/brocade-vtm.gns3a:                "hda_disk_image": "VirtualTrafficManager-104.img"
gns3-registry/appliances/bsdrp.gns3a:                "hda_disk_image": "BSDRP-1.95-full-amd64-serial.img"
gns3-registry/appliances/bsdrp.gns3a:                "hda_disk_image": "BSDRP-1.92-full-amd64-serial.img"
gns3-registry/appliances/bsdrp.gns3a:                "hda_disk_image": "BSDRP-1.91-full-amd64-serial.img"
gns3-registry/appliances/bsdrp.gns3a:                "hda_disk_image": "BSDRP-1.90-full-amd64-serial.img"
gns3-registry/appliances/bsdrp.gns3a:                "hda_disk_image": "BSDRP-1.80-full-amd64-serial.img"
gns3-registry/appliances/bsdrp.gns3a:                "hda_disk_image": "BSDRP-1.70-full-amd64-serial.img"
gns3-registry/appliances/cisco-iosv.gns3a:                "hdb_disk_image": "IOSv_startup_config.img"
gns3-registry/appliances/citrix-netscaler-vpx.gns3a:                "hda_disk_image": "NSVPX-KVM-11.1-47.14_nc.raw"
gns3-registry/appliances/citrix-netscaler-vpx.gns3a:                "hda_disk_image": "NSVPX-KVM-10.5-56.22_nc.raw"
gns3-registry/appliances/clavister-netwall.gns3a:                "hda_disk_image": "clavister-cos-core-14.00.01.13-kvm-en.img"
gns3-registry/appliances/clavister-netwall.gns3a:                "hda_disk_image": "clavister-cos-core-14.00.00.12-kvm-en.img"
gns3-registry/appliances/cloudrouter.gns3a:                "hda_disk_image": "cloudrouter-centos-cloud-full.raw",
gns3-registry/appliances/cloudrouter.gns3a:                "hda_disk_image": "cloudrouter-centos-cloud-minimal.raw",
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.2023.5.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1911.5.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1855.5.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1688.5.3.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1632.2.1.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1576.4.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1520.8.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1465.7.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1409.7.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1353.8.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1353.7.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1235.9.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1235.8.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1235.6.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1235.5.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1235.4.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1185.5.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.1185.3.0.img"
gns3-registry/appliances/coreos.gns3a:                "hda_disk_image": "coreos_production_qemu_image.835.9.img"
gns3-registry/appliances/extreme-networks-voss.gns3a:                "hda_disk_image": "VOSSGNS3.7.0.0.0.img"
gns3-registry/appliances/firefox.gns3a:                "hda_disk_image": "linux-tinycore-linux-6.4-firefox-33.1.1-2.img"
gns3-registry/appliances/firefox.gns3a:                "hda_disk_image": "linux-tinycore-linux-6.4-firefox-33.1.1.img"
gns3-registry/appliances/hp-vsr1001.gns3a:                "hda_disk_image": "VSR1000_HPE-CMW710-E0519L03-X64.qco"
gns3-registry/appliances/hp-vsr1001.gns3a:                "hda_disk_image": "VSR1000_HPE-CMW710-R0327L01-X64.qco"
gns3-registry/appliances/hp-vsr1001.gns3a:                "hda_disk_image": "VSR1000_HPE-CMW710-R0326-X64.qco"
gns3-registry/appliances/hp-vsr1001.gns3a:                "hda_disk_image": "VSR1000_HPE-CMW710-E0325-X64.qco"
gns3-registry/appliances/hp-vsr1001.gns3a:                "hda_disk_image": "VSR1000_HPE-CMW710-E0518-X64.qco"
gns3-registry/appliances/hp-vsr1001.gns3a:                "hda_disk_image": "VSR1000_HPE-CMW710-E0324-X64.qco"
gns3-registry/appliances/hp-vsr1001.gns3a:                "hda_disk_image": "VSR1000_HPE-CMW710-E0322P01-X64.qco"
gns3-registry/appliances/hp-vsr1001.gns3a:                "hda_disk_image": "VSR1000_HPE-CMW710-E0322-X64.qco"
gns3-registry/appliances/hp-vsr1001.gns3a:                "hda_disk_image": "VSR1000_HPE-CMW710-E0321P01-X64.qco"
gns3-registry/appliances/internet.gns3a:                "hda_disk_image": "core-linux-6.4-internet-0.1.img"
gns3-registry/appliances/ipfire.gns3a:                "hda_disk_image": "ipfire-2.23.2gb-ext4.x86_64-full-core136.img"
gns3-registry/appliances/ipfire.gns3a:                "hda_disk_image": "ipfire-2.23.2gb-ext4.x86_64-full-core131.img"
gns3-registry/appliances/ipfire.gns3a:                "hda_disk_image": "ipfire-2.21.2gb-ext4.x86_64-full-core129.img"
gns3-registry/appliances/ipfire.gns3a:                "hda_disk_image": "ipfire-2.21.2gb-ext4.x86_64-full-core124.img"
gns3-registry/appliances/ipfire.gns3a:                "hda_disk_image": "ipfire-2.19.1gb-ext4-scon.x86_64-full-core119.img"
gns3-registry/appliances/ipfire.gns3a:                "hda_disk_image": "ipfire-2.19.1gb-ext4-scon.x86_64-full-core118.img"
gns3-registry/appliances/ipfire.gns3a:                "hda_disk_image": "ipfire-2.19.1gb-ext4-scon.x86_64-full-core117.img"
gns3-registry/appliances/ipfire.gns3a:                "hda_disk_image": "ipfire-2.19.1gb-ext4-scon.x86_64-full-core116.img"
gns3-registry/appliances/ipfire.gns3a:                "hda_disk_image": "ipfire-2.19.1gb-ext4-scon.x86_64-full-core111.img"
gns3-registry/appliances/ipfire.gns3a:                "hda_disk_image": "ipfire-2.19.1gb-ext4-scon.x86_64-full-core110.img"
gns3-registry/appliances/juniper-vmx-legacy.gns3a:                "hda_disk_image": "jinstall-vmx-14.1R4.8-domestic.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re-20.2R1.10.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re-19.3R1.8.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd-17.4R1.16.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re-17.4R1.16.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd-17.3R2.10.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re-17.3R2.10.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd-17.1R1.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re-17.1R1.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd-16.2R1.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re-16.2R1.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd-16.1R4.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re-16.1R4.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd-16.1R3.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re-16.1R3.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd-16.1R2.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re-16.1R2.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd-16.1R1.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re-16.1R1.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hda_disk_image": "jinstall64-vmx-15.1F4.15-domestic.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd-15.1.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-15.1.img"
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdb_disk_image": "vmxhdd-15.1F6.9.img",
gns3-registry/appliances/juniper-vmx-vcp.gns3a:                "hdc_disk_image": "metadata-usb-re-15.1F6.9.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20200526.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20210115.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20190819.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20171213.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20180126.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20170216.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20161025.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20170211.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20161019.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20160902.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20160617.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-15.1F6.9.img"
gns3-registry/appliances/juniper-vmx-vfp.gns3a:                "hda_disk_image": "vFPC-20151203.img"
gns3-registry/appliances/juniper-vqfx-pfe.gns3a:                "hda_disk_image": "vqfx-20.2R1-2019010209-pfe-qemu.qcow"
gns3-registry/appliances/juniper-vqfx-re.gns3a:                "hda_disk_image": "jinstall-vqfx-10-f-17.4R1.16.img"
gns3-registry/appliances/juniper-vrr.gns3a:                "hda_disk_image": "junos-x86-64-20.4R3.8.img",
gns3-registry/appliances/juniper-vrr.gns3a:                "hdb_disk_image": "metadata.img"
gns3-registry/appliances/juniper-vrr.gns3a:                "hda_disk_image": "junos-x86-64-20.3R1.8.img",
gns3-registry/appliances/juniper-vrr.gns3a:                "hdb_disk_image": "metadata.img"
gns3-registry/appliances/kemp-vlm.gns3a:                "hda_disk_image": "LoadMaster-VLM-7.2.44.0.16685.RELEASE-Linux-KVM-XEN-FREE.disk"
gns3-registry/appliances/kemp-vlm.gns3a:                "hda_disk_image": "LoadMaster-VLM-7.2.40.0.15707.RELEASE-Linux-KVM-XEN-FREE.disk"
gns3-registry/appliances/kemp-vlm.gns3a:                "hda_disk_image": "LoadMaster-VLM-7.2.38.0.14750.RELEASE-Linux-KVM-XEN.disk"
gns3-registry/appliances/kemp-vlm.gns3a:                "hda_disk_image": "LoadMaster-VLM-7.2.36.2.14271.RELEASE-Linux-KVM-XEN-FREE.disk"
gns3-registry/appliances/kemp-vlm.gns3a:                "hda_disk_image": "LoadMaster-VLM-7.1.35.0.13244.RELEASE-Linux-KVM-XEN-FREE.disk"
gns3-registry/appliances/kemp-vlm.gns3a:                "hda_disk_image": "LoadMaster-VLM-7.1.34.1.12802.RELEASE-Linux-KVM-XEN-FREE.disk"
gns3-registry/appliances/lancom-vrouter.gns3a:                "hda_disk_image": "LANCOM-VROUTER-installer-10.50.0145-Rel.img"
gns3-registry/appliances/macos-install.gns3a:                "hdc_disk_image": "OpenCore.iso",
gns3-registry/appliances/macos-install.gns3a:                "hdd_disk_image": "Catalina-installer.iso"
gns3-registry/appliances/microcore-linux.gns3a:                "hda_disk_image": "linux-microcore-6.4.img"
gns3-registry/appliances/microcore-linux.gns3a:                "hda_disk_image": "linux-microcore-4.0.2-clean.img"
gns3-registry/appliances/microcore-linux.gns3a:                "hda_disk_image": "linux-microcore-3.4.1.img"
gns3-registry/appliances/mikrotik-chr.gns3a:                "hda_disk_image": "chr-7.4rc2.img"
gns3-registry/appliances/mikrotik-chr.gns3a:                "hda_disk_image": "chr-7.3.1.img"
gns3-registry/appliances/mikrotik-chr.gns3a:                "hda_disk_image": "chr-7.1.5.img"
gns3-registry/appliances/mikrotik-chr.gns3a:                "hda_disk_image": "chr-6.49.6.img"
gns3-registry/appliances/mikrotik-chr.gns3a:                "hda_disk_image": "chr-6.48.6.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-21.02.1-x86-64-generic-ext4-combined.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-21.02.0-x86-64-generic-ext4-combined.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-19.07.8-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-19.07.7-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-19.07.6-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-19.07.5-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-19.07.4-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-19.07.3-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-19.07.2-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-19.07.1-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-19.07.0-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-18.06.8-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-18.06.7-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-18.06.6-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-18.06.5-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-18.06.2-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-18.06.1-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "lede-17.01.6-x86-64-combined-ext4.img"
gns3-registry/appliances/openwrt.gns3a:                "hda_disk_image": "openwrt-15.05.1-x86-64-combined-ext4.img"
gns3-registry/appliances/opnsense.gns3a:                "hda_disk_image": "OPNsense-22.1.2-OpenSSL-nano-amd64.img"
gns3-registry/appliances/opnsense.gns3a:                "hda_disk_image": "OPNsense-21.7.1-OpenSSL-nano-amd64.img"
gns3-registry/appliances/opnsense.gns3a:                "hda_disk_image": "OPNsense-20.7-OpenSSL-nano-amd64.img"
gns3-registry/appliances/opnsense.gns3a:                "hda_disk_image": "OPNsense-19.7-OpenSSL-nano-amd64.img"
gns3-registry/appliances/packetfence-zen.gns3a:                "hda_disk_image": "PacketFenceZEN_USB-9.1.0.img"
gns3-registry/appliances/packetfence-zen.gns3a:                "hda_disk_image": "PacketFenceZEN_USB-9.0.1.img"
gns3-registry/appliances/packetfence-zen.gns3a:                "hda_disk_image": "PacketFenceZEN_USB-8.3.0.img"
gns3-registry/appliances/packetfence-zen.gns3a:                "hda_disk_image": "PacketFenceZEN_USB-8.1.0.img"
gns3-registry/appliances/packetfence-zen.gns3a:                "hda_disk_image": "PacketFenceZEN_USB-7.4.0.img"
gns3-registry/appliances/packetfence-zen.gns3a:                "hda_disk_image": "PacketFenceZEN_USB-7.3.0.img"
gns3-registry/appliances/packetfence-zen.gns3a:                "hda_disk_image": "PacketFenceZEN_USB-7.1.0.img"
gns3-registry/appliances/packetfence-zen.gns3a:                "hda_disk_image": "PacketFenceZEN_USB-7.0.0.img"
gns3-registry/appliances/tinycore-linux.gns3a:                "hda_disk_image": "linux-tinycore-6.4-2.img"
gns3-registry/appliances/tinycore-linux.gns3a:                "hda_disk_image": "linux-tinycore-6.4.img"
gns3-registry/appliances/ubuntu-cloud.gns3a:                "hda_disk_image": "ubuntu-22.04-server-cloudimg-amd64.img",
gns3-registry/appliances/ubuntu-cloud.gns3a:                "hda_disk_image": "ubuntu-20.04-server-cloudimg-amd64.img",
gns3-registry/appliances/ubuntu-cloud.gns3a:                "hda_disk_image": "ubuntu-18.04-server-cloudimg-amd64.img",
gns3-registry/appliances/ubuntu-cloud.gns3a:                "hda_disk_image": "ubuntu-17.10-server-cloudimg-amd64.img",
gns3-registry/appliances/ubuntu-cloud.gns3a:                "hda_disk_image": "ubuntu-16.04-server-cloudimg-amd64-disk1.img",
gns3-registry/appliances/ubuntu-cloud.gns3a:                "hda_disk_image": "ubuntu-14.04-server-cloudimg-amd64-disk1.img",
gns3-registry/appliances/windows_server.gns3a:                "hda_disk_image": "Win2k12_9600.16415.amd64fre.winblue_refresh.130928-2229_server_serverdatacentereval_en-us.vhd"
gns3-registry/appliances/zeroshell.gns3a:                "hda_disk_image": "ZeroShell-3.9.3-X86-USB.img"
gns3-registry/appliances/zeroshell.gns3a:                "hda_disk_image": "ZeroShell-3.8.2-X86-USB.img"
gns3-registry/appliances/zeroshell.gns3a:                "hda_disk_image": "ZeroShell-3.8.1-X86-USB.img"
gns3-registry/appliances/zeroshell.gns3a:                "hda_disk_image": "ZeroShell-3.8.0-X86-USB.img"
gns3-registry/appliances/zeroshell.gns3a:                "hda_disk_image": "ZeroShell-3.7.1-USB.img"

b-ehlers avatar Aug 28 '22 16:08 b-ehlers

And it may exclude the config-disk, introduced with https://github.com/GNS3/gns3-gui/issues/2958. These have a .zip extension. Here a (zipped) .gns3 file containing a qemu vm with a config-disk: config-disk.zip

b-ehlers avatar Aug 28 '22 16:08 b-ehlers

That excludes 32 appliances from the registry, including Cisco IOSv

We allow raw images when installing appliances.

grossmj avatar Aug 28 '22 16:08 grossmj

The idea behind not allowing raw images is to prevent users to upload files to the controller that aren't meant to run in GNS3 as this could be considered a security problem. Am I overthinking?

grossmj avatar Aug 28 '22 19:08 grossmj

With 2.x there were no limitations, so I am concerned that not allowing raw images might surprise some users and maybe even limit the functionality. But maybe the security advantages might outweight these limitations. As I'm still using v2.2.x I have not enough knowledge to help with this decision.

b-ehlers avatar Aug 28 '22 20:08 b-ehlers

With 2.x there were no limitations, so I am concerned that not allowing raw images might surprise some users and maybe even limit the functionality. But maybe the security advantages might outweight these limitations. As I'm still using v2.2.x I have not enough knowledge to help with this decision.

I agree with you, I think I will leave it as an option for the server/controller admin and allow raw images by default.

One alternative could be to automatically try to convert an uploaded raw image to qcow2 and reject if it fails. What do you think of this idea?

grossmj avatar Aug 30 '22 21:08 grossmj

One alternative could be to automatically try to convert an uploaded raw image to qcow2 and reject if it fails. What do you think of this idea?

Yes, that sounds good. That should cover most (if not all) cases.

b-ehlers avatar Aug 31 '22 05:08 b-ehlers

On LiveRaizo, i convert the Debian Image VM from qcow to "raw" format because I relied on this discussion

I think I will leave it as an option for the server/controller admin and allow raw images by default.

It will be a good idea :-)

Raizo62 avatar Oct 09 '22 07:10 Raizo62