Do not pipe sed to sed, if possible.
Use better check for new and old boot configuration.
Use comment for every new IP added to /root/.local.IP.list
Fix for secondary D7 profiles.
Issue #2144947 by niccolo, mrP: Install ruby 1.9 by default for better compatibility with gems which may depend on it.