I returned from holidays only to find out that re-running an Ansible playbook against a system that has been running unchanged since the beginning the year, only been receiving software updates via openSUSE Leap’s usual channels, suddenly triggered weird unhashable type errors.
Category: Systems management
Configuring the default search engine for Microsoft Edge through initial_preferences so that it actually works
Microsoft Edge, since some time now based on Google’s Chromium, supports a similar mechanism to configure (not enforce!) default preferences through a file called initial_preferences. But when it comes to configuring the default search engine, neither Microsoft’s documentation nor their downloadable Microsoft Edge policy templates are of any help. In fact, I couldn’t find a… Continue reading Configuring the default search engine for Microsoft Edge through initial_preferences so that it actually works
How Apple (and Avahi) effectively killed CUPS’ printer discovery for enterprise Linux environments
Not saying that you fell for clickbait but this is going to be a quite opinionated piece that didn’t go anywhere next to the scrutiny a LWN article would have gone and merely represents a summary of my findings on this particular topic so far.
APC SmartUPS 750, apcupsd and power failure: what exactly happens, where “UPS Rbt off” and “UPS StayOff” come from and which delays are configurable and which are not
In theory, an Uninterruptable Power Supply (UPS)’s workings such as the APC SmartUPS 750 in connection with an attached PC are trivial: when power fails and battery capacity runs low, the PC is shut down. When power returns, the PC is turned on again. In reality, there can be confusing messages such as UPS Rbt… Continue reading APC SmartUPS 750, apcupsd and power failure: what exactly happens, where “UPS Rbt off” and “UPS StayOff” come from and which delays are configurable and which are not
Executing arbitrary commands in your libvirt/Qemu virtual machine through Qemu guest agent
Many of us are used to installing additional Virtualization software-specific tools in virtual machines in order to get seamless Copy & Paste, higher screen resolutions — think “VMWare tools” or the “VirtualBox guest extensions”. So does Qemu, the working horse behind most libvirt-powered virtual machines these days, with the “Qemu guest agent”. But did you… Continue reading Executing arbitrary commands in your libvirt/Qemu virtual machine through Qemu guest agent
SeaBIOS 1.14 breaks Windows installation on non-bootable virtio disks
On my development laptop I could install Windows inside a libvirt/KVM VM without problems. When I tried the same on a different KVM host, Windows would refuse installation with the error message “Windows can’t be installed on this device”, inspite of the two VMs having absolutely identical settings.
AutoYast issues during the upgrade from openSUSE Leap 15.2 to 15.3
As seamless as the upgrade from openSUSE Leap 15.2 to 15.3 may have been for ordinary users, I stumbled across some pitfalls in the Autoyast parts.
Filtering with Ansible’s selectattr()/rejectattr() when the tested attribute can be absent
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?
How to modify a list of dictionaries with Ansible
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
A fix for a nasty SLES 15 SP3 Beta / openSUSE 15.3 Beta Autoyast bug in rules.xml handling
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: