agile sysadmin

by Ferenc Erki

Simple unattended Ubuntu install in a VM

I wrote the previous post about this topic almost 6 months ago. Recently I had to review the process for a different project and I was curious if I could find an easier way to seed the installer options – preferably without modifying the original ISO file. Although there is more than one way to do it, I hope others would also find this method helpful.

Continue reading …

Final Term is available in Gentoo Sunrise

Final Term is an interesting and promising terminal emulator with advanced interactive features like semantic text menus, smart command completion, GUI terminal controls, reflow support and more.

I contributed an initial Hungarian translation for the project just to soon find myself hacking on an ebuild, and on minor features. All in all, as of 2013-07-11, Final Term is now available in Gentoo’s Sunrise overlay. You can find usage instructions here.

Thanks to:

OpenWrt support in (R)?ex

(R)?ex is a configuration management framework written in Perl which can be used to simplify and automate various system administrator tasks from deployment management to data center automation. OpenWrt is a Linux distribution for embedded devices and it is widely used on different network equipment by replacing their original firmware. Soon you can combine the power of these two as OpenWrt support is coming into Rex!

Continue reading …

Improved ebuild for Arno’s iptables firewall

Back in December 2012 I was frustrated by a few issues about using net-firewall/arno-iptables-firewall on Gentoo. Only an old version was available through portage and that had its problems working with recent versions of iptables as state matching module’s functionality was being replaced by conntrack module – among other problems like ancient homepage and initscript.

I collected the various pieces spread across a few bugs, patched them together and filed it as an overall version bump to 2.0.1d and volunteered for proxy maintainership as well. I also sent the initscript changes upstream (originally filed to Gentoo’s Bugzilla by Marius Brehler).

However I wasn’t fully comfortable with some details here and there in the ebuild and decided to give it a more thorough look. The result is 30-something commits for the 2.0.1d-r1 ebuild :) They contain roughly the following:

The revamped ebuild is already in the portage tree. Thanks goes to Arno van Amersfoort for the firewall script and to Markos Chandras (hwoarang) for reviewing and committing the ebuild, and of course to everyone else who helped me via the firewall mailing list and #gentoo-dev-help.

Unattended Ubuntu install in a VM

Edit: you may want to check out my updated post in this topic.

In one of my projects I needed to quickly install and/or reproduce virtual Ubuntu servers using QEMU+KVM. It’s nothing difficult but I decided to record the required steps here so I don’t have to remember it all the time. The overall process is the following:

Continue reading …