Ubuntu 14.04 Problem With Vmbuilder

Recently hit quite an annoying bug in vmbuilder, tool that allows to build Ubuntu based virtual machines.

Was trying to build a VM using the following command:

vmbuilder kvm ubuntu --suite trusty --flavour virtual --arch amd64 --mem 8192 --rootsize 8000 --dest /var/lib/libvirt/images --libvirt qemu:///system --hostname new-host --user jenkins --name jenkins --pass <jenkins_user_password> --addpkg openssh-server --addpkg git --addpkg acpid

but kernel installation failed with the following error:

Unpacking linux-image-virtual (3.13.0.53.60) ...
, stderr: grep: /proc/cpuinfo: No such file or directory
This kernel does not support a non-PAE CPU.

Some Notes on Find Exec Output Redirect

Discovered an interesting thing today playing around find linux command.

The idea was to process several files in a directory using some utility that directs output to stdout. In order to keep tracking it’s useful to have a status file with a list of already processed files.

Ubuntu 14.04 SSH init.d Script Broken

Wasted lot of time today trying to figure out why ssh on some server still allows to log in with password despite the fact that in /etc/ssh/sshd_config password based log in is disabled:

PasswordAuthentication no

Ubuntu 14.04 Desktop No LUKS + LVM in Installer

Was choosing a Linux distro for new workstation. Decided to try Ubuntu 14.04.2 desktop on virtual server first and I think I’ll use Fedora 21. I was unable to configure encrypted volumes in conjunction with LVM using Ubuntu 14.04 desktop installer. Here is an instruction how to configure it manually but, hey, I’ve heard Ubuntu is a user-friendly distro. Pity if this actually means all sharp toys are locked in a drawer.