Whilst I see where you're going with this, we already have stuff that parses /proc/cmdline in discover_host.rb - it would probably make more sense to add this code there, so that we can ensure it's done before starting to upload data to Foreman.