The spacecmd is incorrectly uploading text file as binary file on Red Hat Satellite 5.x ?

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.