today's howtos and Fedora
-
Fabio Alessandro Locati: Manage Podman containers with Systemd and Quadlet
Until a few months ago, the only option to start containers from Systemd was to create a Systemd unit which called podman (or docker) with the run sub-command. Podman was also providing podman generate systemd to easily create such Systemd file. This has now changed. From version 4.4 of Podman, in addition to the mentioned method, it is possible to use Quadlet to simplify the execution of containers from Systemd.
-
Steven Pritchard: libvirt surprise
I just noticed that some of my libvirt VMs had on_crash set to destroy instead of restart. It looks like there is an easy fix:
for vm in $( virsh list --name ) ; do virt-xml "$vm" --edit --events on_crash=restart ; done
I don't know if something changed in virt-manager/virt-install over the years, or if I ran into this a long time ago and forgot about it.
Now I just need to remember to add that --events option to virt-install in the future...
-
Richard W.M. Jones: NBD-backed qemu guest RAM
This seems too crazy to work, but it does:
$ nbdkit memory 1G
$ nbdfuse mem nbd://localhost &
[1] 1053075
$ ll mem
-rw-rw-rw-. 1 rjones rjones 1073741824 May 17 18:31 memNow boot qemu with that memory as the backing RAM:
/blockquote>$ qemu-system-x86_64 -m 1024 \
-object memory-backend-file,id=pc.ram,size=1024M,mem-path=/var/tmp/mem,share=on \
-machine memory-backend=pc.ram \
-drive file=fedora-36.img,if=virtio,format=raw -
An In-Depth Guide to Here Strings (
Bash, the Bourne Again SHell, is an incredibly powerful tool for managing and manipulating data. It offers a rich array of features, one of which is the ‘Here String’ (
-
Fedora Infrastructure Status: kojidb down
The virthost running the koji database has stopped responding. We are working on restoring service to koji.
The koji database is back up and working