From ed146d86eed7aeaec67295c07d1db73340da80db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 15 Sep 2024 16:37:56 +0200 Subject: [PATCH] switch disk interface to virtio-scsi virtio-block seems somehow broken (in combination with virtio-net) --- haiku.pkr.hcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haiku.pkr.hcl b/haiku.pkr.hcl index c6f72ae..2297d5b 100644 --- a/haiku.pkr.hcl +++ b/haiku.pkr.hcl @@ -100,7 +100,7 @@ source "qemu" "qemu" { net_device = "virtio-net" disk_compression = true - disk_interface = "virtio" + disk_interface = "virtio-scsi" disk_size = var.disk_size format = "qcow2" @@ -118,7 +118,7 @@ source "qemu" "qemu" { "", "echo \"PermitRootLogin yes\" >> /system/settings/ssh/sshd_config", "passwd${var.root_password}${var.root_password}", - "mkfs -t bfs -q /dev/disk/virtual/virtio_block/0/raw HaikuRunner", + "mkfs -t bfs -q /dev/disk/scsi/2/0/0/raw HaikuRunner", "mountvolume HaikuRunner", "Installer", "",