# File lib/genome-bootstrap/core.rb, line 116 def register_machine(machine_fqdn, config, email="") machine_type = config["parameters"]["genome_machine_type"] post_yaml(machine_fqdn, machine_type, YAML.dump(config)) params = config["parameters"] # The profile will be nil if the user is using a machine that already has an OS add_system_to_cobbler(machine_fqdn, params, email) unless params["cobbler_profile"].nil? end