Linux Predictable Interface Names
The problem This week at work while upgrading a hypervisor from Bullseye to Bookworm, the automatic provisioning failed. Upon closer inspection, it became clear the failure was caused by the machine not having network connectivity after the first step of provisioning. Upon closer inspection, things became clearer: the predictable interface names had changed. On a Bullseye host of the same model we have: 2: enp65s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000 link/ether f8:f2:1e:xx:xx:xx brd ff:ff:ff:ff:ff:ff inet6 fe80::faf2:1eff:xxxx:xxxx/64 scope link valid_lft forever preferred_lft forever 3: enp65s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000 link/ether f8:f2:1e:xx:xx:xx brd ff:ff:ff:ff:ff:ff inet6 fe80::faf2:1eff:xxxx:xxxx/64 scope link valid_lft forever preferred_lft forever On the Bookworm host we have:...
Distributing PGP Keys with DANE
A simple and easy way to share your OpenPGP keys with the world
Booting Libvirt VMs using ISO images
At work, building Linux VMs is a fully automated process, done with a single command. FreeBSD VMs on the other hand, were never automated, as we install them very rarely. As it happens rarely, the few times I needed to install a FreeBSD VM, I would scramble around to find how to mount an ISO on the VM (maybe I should have documented it the first time I needed?). Anyway, now it’s properly documented, here....
Quick and dirty Debian repository setup
If there is one thing that the YoloCloud is made out of, is Yoloed things. In the very beginning, one of the needs I had was distributing a Debian package to my Debian hosts containing a couple of custom monitoring checks as well as a backported version of Strongswan together with the required libs. Aptly and Reprepro do a good job at managing repositories, but were way overkill for my simple need of distributing a few packages....
Forcing g10k to update Puppet Forge modules
The YoloCloud is automated mostly using Puppet. The other day I realized some of my Puppet Forge modules were some versions behind and decided to update them. After taking a look at the g10k documentation, the only thing directly related to “updating” was the -check4update argument. Well, turns out that the dryrun mode gets enabled by default when -check4update is used and it cannot be disabled. After some more reading, I found the -force argument....