summaryrefslogtreecommitdiffstats
path: root/installer_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-12-11 14:13:05 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-12-11 14:13:05 -0500
commitf95b74c27db6538acfd22f09af40e5be1f64df9c (patch)
treeaca8bea526172a2dfe234a7da5b158a4470653a8 /installer_templates
parent8f2e0eef2335c3b76b88a3e77e2f65a516332fc7 (diff)
downloadcobbler-f95b74c27db6538acfd22f09af40e5be1f64df9c.tar.gz
cobbler-f95b74c27db6538acfd22f09af40e5be1f64df9c.tar.xz
cobbler-f95b74c27db6538acfd22f09af40e5be1f64df9c.zip
Initial work to add redhat-management-key field
Diffstat (limited to 'installer_templates')
-rw-r--r--installer_templates/defaults4
-rw-r--r--installer_templates/settings.template27
2 files changed, 24 insertions, 7 deletions
diff --git a/installer_templates/defaults b/installer_templates/defaults
index 34d5a0dc..ccd01063 100644
--- a/installer_templates/defaults
+++ b/installer_templates/defaults
@@ -6,6 +6,8 @@ enable_dhcp:0
enable_dns:0
next_server:'127.0.0.1'
pxe_once:0
+redhat_management_type: "off"
+redhat_management_server: "xmlrpc.rhn.redhat.com"
+redhat_management_key: ""
server:'127.0.0.1'
-spacewalk_url:'http://localhost/rpc/api'
yum_post_install_mirror:0
diff --git a/installer_templates/settings.template b/installer_templates/settings.template
index e87ccc5d..94a69a1e 100644
--- a/installer_templates/settings.template
+++ b/installer_templates/settings.template
@@ -209,6 +209,27 @@ pxe_just_once: $pxe_once
# from what directory?
pxe_template_dir: "/etc/cobbler/pxe"
+# Are you using a Red Hat management platform in addition to Cobbler?
+# Cobbler can help you register to it. Choose one of the following:
+#
+# "off" : I'm not using Red Hat Network, Satellite, or Spacewalk
+# "hosted" : I'm using Red Hat Network
+# "site" : I'm using Red Hat Satellite Server or Spacewalk
+#
+# You will also want to read: https://fedorahosted.org/cobbler/wiki/TipsForRhn
+redhat_management_type: "$redhat_management_type"
+
+# if redhat_management_type is enabled, choose your server
+# "management.example.org" : For Satellite or Spacewalk
+# "xmlrpc.rhn.redhat.com" : For Red Hat Network
+redhat_management_server: "$redhat_management_server"
+
+# specify the default Red Hat authorization key to use to register
+# system. If left blank, no registration will be attempted. Similarly
+# you can set the --redhat-management-key to blank on any system to
+# keep it from trying to register.
+redhat_management_key: ""
+
# when DHCP and DNS management are enabled, cobbler sync can automatically
# restart those services to apply changes. The exception for this is
# if using ISC for DHCP, then omapi eliminates the need for a restart.
@@ -254,12 +275,6 @@ server: $server
# this directory should not be required.
snippetsdir: /var/lib/cobbler/snippets
-# if modules.conf specifies authn_spacewalk, this is the XMLRPC
-# endpoint to authenticate against. If Satellite/Spacewalk is
-# not in use, ignore this setting entirely.
-# See fedorahosted.org/spacewalk for details on that project.
-spacewalk_url: $spacewalk_url
-
# by default, installs are set to send syslog traffic on this port
# and cobblerd will listen on this port. syslog data (for installs
# that support it... RHEL 5 and later, etc) is logged in /var/log/cobbler