Removing config channel example-channel Config channel example-channel
removed
3.11. Determining 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 example-channel \
/tmp/dest_path/example-config.txt: 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:
rhncfg-manager update \
--channel=channel-label--dest-file=/path/to/file.txt/local/path/to/file
The output resembles the following:
Pushing to channel example-channel: Local file
example-channel/tmp/dest_path/example-config.txt -> \ remote file
/tmp/dest_path/example-config.txt
The following table lists the options available for
rhncfg-manager update
:
Option
Description
-cCHANNEL, --channel=CHANNEL
Upload files in this config channel
-dDEST_FILE, --dest-file=DEST_FILE
Upload the file as this path
-tTOPDIR, --topdir=TOPDIR
Make all files relative to this string
--delim-start=DELIM_START
Start delimiter for variable interpolation
--delim-end=DELIM_END
End delimiter for variable interpolation
-h, --help
Show help message and exit
Table A.10.
rhncfg-manager update
options
Determining the Number of File Revisions
217
Содержание NETWORK SATELLITE 5.1.0 - CHANNEL MANAGEMENT
Страница 1: ...Red Hat Network Satellite Reference Guide 5 1 0 5 1 ISBN Publication date ...
Страница 2: ...Red Hat Network Satellite ...
Страница 4: ...Red Hat Network Satellite ...
Страница 12: ...xii ...
Страница 22: ...8 ...
Страница 35: ...Figure 2 11 Available Package Updates Available Package Updates 21 ...
Страница 52: ...38 ...
Страница 74: ...Figure 5 15 Text Mode Welcome Screen Chapter 5 Red Hat Network Registration Client 60 ...
Страница 176: ...162 ...
Страница 202: ...188 ...
Страница 220: ...206 ...
Страница 286: ...Field Value Warning Maximum Users Table C 74 RHN Satellite Server Users settings Appendix C Probes 272 ...
Страница 300: ...Your Preferences 71 Index 286 ...