A SERVICE OF

logo

134 Appendix A. Command Line Config Management Tools
A.2.7. Listing All Files in a Channel
To list all the files in a channel, issue the command:
rhncfg-manager list channel-label
You should see output resembling:
Files in config channel ‘blah3’:
/tmp/dest_path/foo.txt
A.2.8. Listing All Config Channels
To list all of your organization’s configuration channels, issue the command:
rhncfg-manager list-channels
You should see output resembling:
Available config channels:
blah
blah2
blah3
config-channel-14
config-channel-17
Note that this does not list local_override or server_import channels.
A.2.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/foo.txt
If prompted for your RHN username and password, provide them. You should see output resembling:
Red Hat Network username: rhn-user
Password:
Removing from config channel blah3
/tmp/dest_path/foo.txt removed
A.2.10. Deleting a Config Channel
To detroy a config channel in your organization, issue the command:
rhncfg-manager remove-channel channel-label
You should see output resembling:
Removing config channel blah
Config channel blah removed