The spacecmd is incorrectly uploading text file as binary file on Red Hat Satellite 5.x ?
Issue
- Uploading a text file to a configuration channel being detected as binary file, there is no option to define file type as text ?
spacecmd {SSM:0}> configchannel_addfile -c config-test -p /usr/config.cfg -f /home/test/check_ads.cfg
INFO: trailing newlines detected, uploading as binary
Path: /usr/config.cfg
Directory: False
Owner: root
Group: root
Mode: 0644
SELinux Context:
Contents not displayed (base64 encoded)
Is this ok [y/N]: N
spacecmd {SSM:0}>
Environment
- Red Hat Satellite 5.6
- Red Hat Satellite 5.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.