[00:02] catred: on qemu/bhyve and on Hetzner (which is also qemu) the ISO isn't actually ejected [00:20] meena: is it actually a CDROM device? or just a ISO9960 image on a block device? [00:22] minimal: it's pretending to be a CD ROM device. [00:41] meena: "eject" works for me on QEMU if the device is using virtio-scsi. [00:42] aaah [00:42] ok. [00:42] I'll try that tomorrow, rn it's time to head to bed [00:42] Using virtio-blk won't work unless you're using the ISO image as a block device, not a CDROM, doesn't matter if you specify "media=cdrom" [00:43] i was using it as straight SATA / SCSI device, not virtio-scsi [00:43] so if the "cdrom" appears as /dev/vda or /dev/vdb etc then it is not a cdrom [00:43] which makes me wonder if we actually support virtio-scsi [00:43] oh, didn't try "real" scsi on a VM but it should work the same as virtio-scsi [00:43] as they're using almost the same device "stack" on Linux [00:43] not sure about FreeBSD [00:44] minimal: i just updated my desktop, so i now have a qemu version from this decade [00:44] but now my fonts are all messed up [00:44] oh well… [00:45] for Qemu try using "-drive file=XYZ.iso,id=cdrom0,if=none,format=raw,media=cdrom,readonly=on [00:45] -device virtio-scsi-pci,id=scsi0 [00:45] I will absolutely do no such thing; I'm going to bed, [00:45] -device scsi-cd,bus=scsi0.0,drive=cdrom0 [00:46] also, I usually use virt-manager to create my VMs and then complain that it can't do everything i need [00:50] virt mangler? ;-) [01:16] haaahh === smoser2 is now known as smoser [20:14] FYI: https://hackingthe.cloud/aws/exploitation/local_ec2_priv_esc_through_user_data/