Ansible’s selectattr and rejectattr allow filtering of a list of dictionaries based on a specific test being executed against each dictionary’s keys and values. But what if the dictionary is not guaranteed to always have the key being tested actually defined?
I keep running into scenarios with Ansible for which there doesn’t seem a ready StackOverflow or Serverfault answer and which usually prompts a “You must be doing something very strange that Ansible was not made for” answer from my Belgian friends. One of these scenarios is how to modify an existing list of dictionaries with… Continue reading How to modify a list of dictionaries with Ansible
Currently beta versions of both SLES 15 SP3 and openSUSE 15.3 are available for broader testing. In doing so I stumbled over a nasty bug in Autoyast, SUSE’s solution for automatic OS installations, when using the rules.xml mechanism:
I like fresh, reproducible installs when a new version of your preferred Linux distro (in my case openSUSE) comes out. Ensuring the perceived (!) feeling that a system is a “clean” state is hard enough during its lifecycle already and ensuring it is so after doing an upgrade installation is even harder. That’s why I… Continue reading Introducing a custom Yast module for importing libvirt configuration files from existing installations
I don’t know yet if it’s really a bug or not but I’ve seen some weird behavior while trying to programmatically set up a VM in EFI mode with libvirt which involves a blank VM console unless I explicitly disable suspend-to-mem for the EFI firmware.
The enterprise world is one that is fond of funny, crappy hardware gadgets such as KVM (Keyboard-Video-Mouse) switches, often in the matrix variant: you have one or more consoles connected matrix-style to different computers, for the obvious benefit of not having to connect keyboard, mouse and monitor when needed let alone have a set connected… Continue reading Why your kernel’s drm.edid_firmware parameter doesn’t work anymore in libvirt environments
Getting your custom OS installation ISO to boot from both DVDs and USB sticks is but the first step in making the whole installation working from USB sticks as well. There can still be unexpected pitfalls in the course of the installation process as I encountered yesterday and while my experience was with a specific… Continue reading Consistent udev storage names during and after OS installation: when minimal is too minimal
This may seem to some of you like a blast from a long forgotten past but that’s what an Enterprise world often looks like: I’ve been seeing scripting that creates a custom Linux installation ISO from given public images, adds extra software repositories, install automation, provisioning for delegating to a dedicated config management tool (Puppet,… Continue reading Recreating ISOs that boot from both DVD and mass storage such as USB sticks and in both legacy BIOS and UEFI environments
In a previous post I described the Mikrotik hAP lite (RB941-2nD-TC) and its RouterOS and already suggested that I prefer to run OpenWrt on it. Because Mikrotik routers behave a bit different than the usual TP-Link, GL.iNet etc. devices and because there were some pitfalls I had to master myself, here’s some advice to keep… Continue reading Bringing OpenWrt to the Mikrotik hAP lite (RB941-2nD-TC)
In a small series on rspamd configuration I did back in August last year I had a diagram illustrating the configuration file structure of the then-current rspamd version.