Appendix A. Command Line Config Management Tools
103
A.2.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 command:
rhncfg-manager update
--channel=
channel-label
--dest-file=
/path/to/file.txt
/local/path/to/file
You should see output resembling:
Pushing to channel blah:
Local file blah/tmp/dest_path/foo.txt -> remote file /tmp/dest_path/foo.txt
A.2.13. Uploading Multiple Files at Once
To upload multiple files to a config channel from local disk at once, issue the command:
rhncfg-manager upload-channel
--topdir=
topdir
channel-label
You should see output resembling:
Using config channel blah4
Uploading /tmp/ola_world.txt from blah4/tmp/ola_world.txt
Summary of Contents for NETWORK 3.2 - PROVISIONING
Page 1: ...Red Hat Network 3 2 Provisioning Reference Guide...
Page 6: ......
Page 16: ...6 Chapter 1 What is Red Hat Network...
Page 48: ...38 Chapter 3 Red Hat Network Alert Notification Tool...
Page 106: ...96 Chapter 6 Red Hat Network Registration Client...
Page 114: ...104 Appendix A Command Line Config Management Tools...
Page 118: ...108 Appendix B RHN API Access...
Page 124: ...114 Glossary...