spacewalkproject/spacewalk — pull request #195 by dmacvicar (2014-12-09 13:10:06+00:00)
Title: Set cobbler hostname variable when calling system.createSystemRecord

When adding a record for a non-registered system, there is no way to change the
hostname variable which is used in the autoinstallation profiles.
So we set it from the server hostname or name, depending which one is available.