grep out .gitignore on initrd file injection
removed redundant file=/preseed.cfg and added an EC2 hands on install mode
improved error detection of commands involving pipes and back ticks
added an ERR trap and had main() exit 0
make note about grub not exiting with an error value