find arch by default for the installation
Why not search the cpu arch of the installing machine / server ?
Some fallback for "default" values
if( $kernel eq "default" ) { $kernel= "linux-image-2.6-486"; }
(from redmine: issue id 322, created on 2011-06-25, closed on 2011-10-03)