summaryrefslogtreecommitdiffstats
path: root/extraconfig/post_deploy/rhel-registration/environment-rhel-registration.yaml
diff options
context:
space:
mode:
authorSteven Hardy <shardy@redhat.com>2015-04-09 15:01:08 +0100
committerJames Slagle <jslagle@redhat.com>2015-05-07 16:55:36 -0400
commitc799b2e04ea7e2fb0266484fd435782b5f6d3fbf (patch)
tree4b37f77873c104e1048bd8037d665e737d956ad8 /extraconfig/post_deploy/rhel-registration/environment-rhel-registration.yaml
parentad0f3a3e44adad1bd8aaaa580197e3c68f327388 (diff)
post-deploy hook for rhel registration
Adds a potential usage of the post-deploy hooks to register a server with RHN or a satellite. Note this requires some additional parameters, which can be specified in environment_rhel_reg.yaml, and this must be passed into the call to heat via another -e parameter. An alternative may be to have a global extraconfig_env.yaml at the top level, which the scripts always pass, or to use the global environment (/etc/heat/environment.d/default.yaml) on the seed. Co-Authored-By: James Slagle <jslagle@redhat.com> Change-Id: Ia6fd270122cbc2e51beb672654e5e1ebd3bd2966
Diffstat (limited to 'extraconfig/post_deploy/rhel-registration/environment-rhel-registration.yaml')
-rw-r--r--extraconfig/post_deploy/rhel-registration/environment-rhel-registration.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/extraconfig/post_deploy/rhel-registration/environment-rhel-registration.yaml b/extraconfig/post_deploy/rhel-registration/environment-rhel-registration.yaml
new file mode 100644
index 00000000..70437a8a
--- /dev/null
+++ b/extraconfig/post_deploy/rhel-registration/environment-rhel-registration.yaml
@@ -0,0 +1,22 @@
+# Note this can be specified either in the call
+# to heat stack-create via an additional -e option
+# or via the global environment on the seed in
+# /etc/heat/environment.d/default.yaml
+parameter_defaults:
+ rhel_reg_activation_key: ""
+ rhel_reg_auto_attach: ""
+ rhel_reg_base_url: ""
+ rhel_reg_environment: ""
+ rhel_reg_force: ""
+ rhel_reg_machine_name: ""
+ rhel_reg_org: ""
+ rhel_reg_password: ""
+ rhel_reg_pool_id: ""
+ rhel_reg_release: ""
+ rhel_reg_repos: ""
+ rhel_reg_sat_url: ""
+ rhel_reg_server_url: ""
+ rhel_reg_service_level: ""
+ rhel_reg_user: ""
+ rhel_reg_type: ""
+ rhel_reg_method: ""