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 " will continue to work?

Environment

  • Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content