-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Global Registration instead of katello_ca_consumer rpm
- Loading branch information
1 parent
6ae9cbb
commit b88b60b
Showing
9 changed files
with
79 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
.Procedure | ||
|
||
. Generate registration command | ||
+ | ||
UI: In the {ProjectWebUI}, navigate to *Hosts > Register Host* and generate the registration command. | ||
+ | ||
Or you can generate command via API: | ||
ifdef::foreman-el,foreman-deb[] | ||
+ | ||
[options="nowrap" subs="+quotes,attributes"] | ||
---- | ||
# hammer host-registration generate-command | ||
|
||
# or manually: | ||
|
||
# curl -X POST https://{foreman-example-com}/api/registration_commands \ | ||
--user username \ | ||
-H 'Content-Type: application/json' | ||
---- | ||
endif::[] | ||
ifdef::katello,satellite[] | ||
+ | ||
[options="nowrap" subs="+quotes,attributes"] | ||
---- | ||
# hammer host-registration generate-command --activation-keys your-key | ||
|
||
# or manually: | ||
|
||
# curl -X POST https://{foreman-example-com}/api/registration_commands \ | ||
--user username \ | ||
-H 'Content-Type: application/json' \ | ||
-d '{ "registration_command": { "activation_keys": ["key1, key2"] }}' | ||
---- | ||
endif::[] | ||
ifdef::katello,satellite[] | ||
+ | ||
Use an activation key to simplify specifying the environments. | ||
For more information about activation keys, see {ContentManagementDocURL}Managing_Activation_Keys_content-management[Managing Activation Keys] in the _Content Management Guide_. | ||
endif::[] | ||
+ | ||
To enter password via command line argument, use `username:password` syntax. | ||
Keep in mind this can save the password in the shell history. | ||
+ | ||
For more information about registration see {ManagingHostsDocURL}registering-a-host_managing-hosts[Registering a Host to {ProjectName}]. | ||
|
||
. Log on to the host you want register and run the command | ||
. Check the `/etc/yum.repos.d/redhat.conf` and ensure that the appropriate repositories have been enabled. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 0 additions & 87 deletions
87
...es/doc-Managing_Hosts/topics/proc_registering-a-host-to-satellite-manually.adoc
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters