/srv/irclogs.ubuntu.com/2024/01/27/#cloud-init.txt

meenacatred: on qemu/bhyve and on Hetzner (which is also qemu) the ISO isn't actually ejected00:02
minimalmeena: is it actually a CDROM device? or just a ISO9960 image on a block device?00:20
meenaminimal: it's pretending to be a CD ROM device.00:22
minimalmeena: "eject" works for me on QEMU if the device is using virtio-scsi.00:41
meenaaaah00:42
meenaok.00:42
meenaI'll try that tomorrow, rn it's time to head to bed00:42
minimalUsing 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
meenai was using it as straight SATA / SCSI device, not virtio-scsi00:43
minimalso if the "cdrom" appears as /dev/vda or /dev/vdb etc then it is not a cdrom00:43
meenawhich makes me wonder if we actually support virtio-scsi00:43
minimaloh, didn't try "real" scsi on a VM but it should work the same as virtio-scsi00:43
minimalas they're using almost the same device "stack" on Linux00:43
minimalnot sure about FreeBSD00:43
meenaminimal: i just updated my desktop, so i now have a qemu version from this decade00:44
meenabut now my fonts are all messed up00:44
meenaoh well…00:44
minimalfor Qemu try using "-drive file=XYZ.iso,id=cdrom0,if=none,format=raw,media=cdrom,readonly=on00:45
minimal-device virtio-scsi-pci,id=scsi000:45
meenaI will absolutely do no such thing; I'm going to bed,00:45
minimal-device scsi-cd,bus=scsi0.0,drive=cdrom000:45
meenaalso, I usually use virt-manager to create my VMs and then complain that it can't do everything i need00:46
minimalvirt mangler? ;-)00:50
meenahaaahh01:16
=== smoser2 is now known as smoser
minimalFYI: 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!