-
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.
- Loading branch information
1 parent
88b0ad5
commit 8218a46
Showing
9 changed files
with
70 additions
and
141 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,44 @@ | ||
.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:password \ | ||
-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:password \ | ||
-H 'Content-Type: application/json' \ | ||
-d '{\"activation_keys\":\"your-key\"}'" | ||
---- | ||
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::[] | ||
+ | ||
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
45 changes: 0 additions & 45 deletions
45
...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