theforeman/foreman_discovery — pull request #19 by GregSutcliffe (2013-06-28 10:30:15+00:00)
Title: Detect script location and ruby environment better

Hopefully a fix for #17 - @dc-mattj could you test and confirm? I built the rake task on a 12.04 host with this script and hosts booted with the resulting image seemed to check-in ok, but I'd like confirmation before I merge ;)