The hostid is often used to provide a host identification for a software license. I wanted to use Puppet to deploy a configuration file containing the hostid for a number of Linux hosts. Normally you would write a custom fact to call the hostid command on the host and use the returned value in your Puppet manifest. But I wanted to avoid forking another process, so here is my non-forking implementation.Continue reading "Linux hostid and endianness"
Recently I upgraded the hardware of my loyal FreeBSD server from an old Pentium to the new Skylake architecture. The hardware upgrade was necessary to support multiple virtual machines using the new bhyve hypervisor available with FreeBSD 10. I sucessfully installed Debian Linux on a virtual machine using the vm-bhyve port.Continue reading "Linux guest on bhyve fails to shut down"
I have a couple of VirtualBox VMs on my Mac. Most of them are running different flavors of Linux to be able to quickly test something on a certain distribution. Recently I found that on one machine the mouse pointer for the Xorg based desktop stopped responding. Everything else seemed normal, just the mouse pointer would not move a single pixel.Continue reading "Fixing Xorg Mouse in VirtualBox"