Upload a tar file to a RHN Satellite 5.5

Latest response

Hello Guys,

I'm looking for upload a tar file to my RHN Satellite, and I could not find a option or command line to add this tar file to my channels.
Usually they only accept RPM files, but I need to upload a tarball.
My Satellite is 5.5

Thank you

Responses

Jose,

Do you need to bring it into Satellite as a package? Or would it be sufficient to make it available as a config file? I'm still on 5.4 and I know in 5.4 you can upload a tarball as a config file. I would imagine you should still be able to do that in 5.5.

There's a maximum size for config files isn't there? Using the pub folder as described below is possibly the best way forwards.

Although . . . it would be good to see the config file size limit disappear. Or at least turn into a server setting that I can choose myself. If I want to store loads of large tarballs as config files, Satellite should really make it easier for me to do so. It shouldn't take more than optionally specifying a directory for storing large config files should it?

D

I found a solution.
1 - Copy the file to the folder: [satellite_server]#/var/www/html/pub
2 - Add a post-install script to wget the file (System --> Kickstart --> Profile)
3 - Choose the profile, and click on Scripts.
4 - Add a new kickstart script
5 - Choose post-install script
6 - Add a new 2 lines with:
cd /tmp
wget satellite_server/pub/file.tar

this will download your file.tar on /tmp folder.

Glad you got this figured out Jose, and thanks for letting us know what worked for you. Welcome to the community, by the way!

Close

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