Updating A File In A Channel; Uploading Multiple Files At Once - Red Hat NETWORK 3.2 - PROVISIONING Reference Manual

Hide thumbs Also See for NETWORK 3.2 - PROVISIONING:
Table of Contents

Advertisement

Appendix A. Command Line Config Management Tools
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
103

Advertisement

Table of Contents
loading

Table of Contents