Installation guide
Available config channels: example-channel example-channel2 example-channel3
config-channel-14 config-channel-17
Note that this does not list local_override or server_import channels.
1.1.3.9. Removing a File from a Channel
To remove a file from a channel, issue the command:
rhncfg-manager remove --channel= channel-label /tmp/dest_path/example-co nfig.txt
If prompted for your Red Hat Network username and password, provide them. You should see output
resembling:
Red Hat Network username: rhn-user Password: Removing from config channel exam ple-
channel3 /tmp/dest_path/example-config.txt removed
The following table lists the options available for rhncfg-m anager remove:
Table 1.9. rhncfg-m anager remove options
Option Description
-c CHANNEL, --channel=CHANNEL Remove files from this config channel
-t T OPDIR, --topdir=TOPDIR Make all files relative to this string
-h, --help Show help message and exit
1.1.3.10. Deleting a Config Channel
To destroy a config channel in your organization, issue the command:
rhncfg-manager remove-channel channel-label
The output resembles the following:
Removing config channel example-channel Config channel example-channel removed
1.1.3.11. Det ermining the Number of File Revisions
To find out how many revisions (revisions go from 1 to N where N is an integer greater than 0) of a
file/path are in a channel, issue the following command:
rhncfg-manager revisions channel-label /tmp/dest_path/example-config.txt
The output resembles the following:
Analyzing files in config channel exam ple-channel \ /tmp/dest_path/exam ple-
config.txt: 1
1.1.3.12. Updating a File in a Channel
To create a new revision of a file in a channel (or add the first revision to that channel if none existed
before for the given path), issue the following command:
Chapter 1. Red Hat Satellite Information
19