The following functionality has been added to kicktoo:

- support of GPT based on sectors start/end (generates cleaner partitioning)

- enhanced support of grub2 (now uses grub2-install)

- added templating support to grub2 GRUB_CMDLINE_LINUX, to be able to pass parameters such as uuid for encrypted root partition in the profile

- ability to download a pre-compiled kernel from a binhost (extremely useful to deploy new boxes quickly, all with the same kernel config - takes around 3 minutes to get a new box deployed, from start to end)

- enhanced support for LUKS, and use of key as alternative to passphrase. the key can be stored on removal device (USB key). encrypted root partition support

- correctly handle formatting procedure for luks vs. noluks partitions

- auto-generation of /etc/mdadm.conf - using uuid

- auto-generation of /etc/conf.d/dmcrypt - using uuid

- confirmed working config for: gpt + grub2 + raid + lvm + luks

- profile configurable as luks/noluks using a "mode" flag

- option to either have the key stored on the EFI partition or on a removable USB key ("key_on" flag)

- use of uuid to maintain raid device number assignment in initramfs

- encrypted option (-e) for chpasswd had to be replaced by usermod (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528610)
Moving the installation of the extra packages before grub2 installation to solve memory leak issue when running grub2-install.
fixed the 'command -v qlist' bug:
spawn_chroot(): wrapping command '"command' in chroot script
now returning:
spawn_chroot(): wrapping command 'command -v qlist' in chroot script
Generally we want the stack in the following order: raid -> lvm -> luks.
curl '-C' option creates problems. also escaped double-quotes were missing around ${uri}.
Profile example for new features, with "mode" flag.