A.3.7. Listing All Files In A Channel; A.3.8. Listing All Config Channels; A.3.9. Removing A File From A Channel - Red Hat NETWORK SATELLITE 5.1.1 Reference Manual

Hide thumbs Also See for NETWORK SATELLITE 5.1.1:
Table of Contents

Advertisement

Appendix A. Command Line Config Management Tools
rhncfg-manager get --channel=channel-label \ /tmp/dest_path/example-
config.txt
You should see the contents of the file as output.

A.3.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 `example-channel3': /tmp/dest_path/example-
config.txt
The following table lists the options available for rhncfg-manager get:
Option
-cCHANNEL, --channel=CHANNEL
-tTOPDIR, --topdir=TOPDIR
-rREVISION, --revision=REVISION
-h, --help
Table A.8. rhncfg-manager get options

A.3.8. Listing All Config Channels

To list all of your organization's configuration channels, issue the command:
rhncfg-manager list-channels
The output resembles the following:
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.

A.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-
config.txt
If prompted for your RHN username and password, provide them. You should see output resembling:
196
Description
Get file(s) from this config channel
Make all files relative to this string
Get this file revision
Show help message and exit

Advertisement

Table of Contents
loading

Table of Contents