How to setup global parameter for ROOT password

Solution Unverified - Updated -

Issue

  • I have defined a global parameter in our organization ("ACME") called: acme_root_password.
  • I have modified the provisioning template ("ACME - Satellite Kicketart Default") to use the following code to set the password:-
host_password =@host.params['acme_root_password']

#rootpw --iscrypted <%= root_pass %>
# 
rootpw  <%= host_password %>
  • When I preview the template the correct password entry is presented to "rootpw".
  • The problem is when defining a new host using a Host Group it fails as it is insisting on having a root password entered.
  • How can I define a global parameter that will be used in the defined Host Groups so the original provisioning template line: "rootpw --iscrypted <%= root_pass %>" will continue to work?

Environment

  • Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.