From d69219c8cae37ecb426cdc26dbfd1ab8b70e5791 Mon Sep 17 00:00:00 2001 From: Xtr126 Date: Sun, 13 Aug 2023 01:27:33 +0530 Subject: [PATCH] fix: duplicate id --- src-tauri/src/qemu_install.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/qemu_install.rs b/src-tauri/src/qemu_install.rs index f595ce4..7c51f80 100644 --- a/src-tauri/src/qemu_install.rs +++ b/src-tauri/src/qemu_install.rs @@ -58,7 +58,7 @@ fi {env_vars} exec qemu-system-x86_64 -enable-kvm -cpu host -smp {cpus} -m {memsize_mb}M \ -drive index=0,if=virtio,id=system,file="{install_dir}"/$system_img,format=raw,cache=none,readonly=on \ - -drive index=1,if=virtio,id=system,file="{install_dir}/data.img",format=raw,cache=none \ + -drive index=1,if=virtio,id=data,file="{install_dir}/data.img",format=raw,cache=none \ -display {display_type},gl={use_gl} \ -device virtio-vga-gl,xres={x_res},yres={y_res} \ -net nic,model=virtio-net-pci {net_user_hostfwd} \