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