Skip to content

Linux hostid and endianness

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"

Fixing Xorg Mouse in VirtualBox

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"