Appendix A. Command Line Config Management Tools
111
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.5 - PROVISIONING
Page 1: ...Red Hat Network 3 5 Provisioning Reference Guide...
Page 6: ......
Page 16: ...6 Chapter 1 What is Red Hat Network...
Page 50: ...40 Chapter 3 Red Hat Network Alert Notification Tool...
Page 98: ...88 Chapter 4 Red Hat Network Website...
Page 114: ...104 Chapter 6 Red Hat Network Registration Client...
Page 122: ...112 Appendix A Command Line Config Management Tools...
Page 126: ...116 Appendix B RHN API Access...
Page 132: ...122 Glossary...