semjonov.de blog

rss feed ›

Create a CentOS mirror for Kickstarting

This is an update over my earlier post about PXE booting. I’ve learned a few more things and refined some rough edges. My Motivation is similar to the last post: I started building my homelab with virtual machines. Most of them are based on a minimal CentOS 7 installation, and as such I have a lot of very similar systems. Yes, I could probably use containers to great effect. But I prefer the separation/isolation that I get from virtual machines on ESXi. read on »

Truncated IPMI Passwords

tl;dr: webui truncates new passwords to 19 chars

I used KeePassX to generate a new, 24 character password with all character types enabled. This was supposed to replace the default ADMIN/ADMIN combination for IPMI on my ESXi box. So I opened the appropriate page through a browser, navigated to Configuration > Users and modified the ADMIN user. It happily accepted the new password with no warning whatsoever and I logged out to test it .. oh well .. it didn’t work. read on »

Local PXE Boot Server

1. motivation Today I set out to setup a local CentOS mirror for quicker PXE installations of my virtual machines. In the long run this will probably be superseded by a Spacewalk machine and until now netboot.xyz has served me well. For the time being I just wanted a faster alternative. The kpxe file for netboot.xyz is tiny and can easily be used with the builtin TFTP server of OpenWRT / LEDE project or any other TFTP server. read on »

Signed Npm Version Bumps

package.json For a while now I’ve been using Visual Studio Code for a few JavaScript / TypeScript projects. Most of these projects come with a package.json file, which documents various aspects of the project. A tiny example of such a file: { "name": "foo", "version": "1.2.3", "description": "A packaged foo fooer for fooing foos", "main": "foo.js" } npm version There’s that interesting property version. In conjunction with the npm version command it allows for very easy version bumping with automatic tagging. read on »

On-Demand Socket Forwarding with Systemd

Sooner or later when setting up a server you’ll want to create some MySQL databses and users. If you’re not proficient in writing SQL queries or just wanted to use a nice GUI tool for the task, you’d need to connect remotely to your databse host. But of course you do not want to expose your MySQL port to the internet … Or suppose you want to debug some remote service, which is only accessible locally on the remote machine …

read on »