Corporate server rooms are not nice places to hang out. They’re very noisy and cold (at least in front of the racks) and they generally lack the comfort of the ergonomic office chair at my desk. Normally any kind of food or beverages are strictly forbidden in server rooms so I have to leave my precious coffee behind before entering the holy grail which makes me a bit cranky, especially in the early hours.
But now there is light at the end of the tunnel and it’s name is Yaifo.
In short, Yaifo is a modified bsd.rd kernel which supports sshd. That means that you can install or upgrade an OpenBSD server using SSH.
I use Yaifo for 2 things :
- Upgrade an existing server without being physically present or using a serial connection.
- Install OpenBSD without being physically present or using a serial connection.
You build and configure Yaifo and then you scp it to the server you want to upgrade as /bsd. Once the server has rebooted and comes back online you can ssh to it as root and are presented with the familiar “(I)nstall, (U)pgrade or (S)hell” prompt.
If you have a working PXE boot environment you could simply boot Yaifo off the network. You could also build your own OpenBSD install cd using release(8) and include Yaifo in it. Either way, it works great.
Now I have one less reason to leave the comfort of my office