How can I automate regular refreshes of the /etc/yum.repos.d/susemanager:channels.repo file for EL systems?


I’ve looked through the spacecmd reference document, but can’t spot anything that does this, although it’s possible I’m just not spotting the obvious.




Reasoning: On a few machines now, this file has been empty of anything but the initial comments, leading to machines not being updated since they can’t see any repos. I can get Uyuni to send a fresh copy just by changing any of the Software channels through the webui and that always fixes it, but want to force this periodically with a script.


I don’t know why some machines have this issue and not others. I’m presuming it’s a bug in Uyuni, rather than any local activity truncating it.



Simon Avery

Linux Systems Administrator: ATASS Sports

Oxygen House | Grenadier Road, Exeter Business Park | EX1 3LH

01392 440 400

e: simon.avery@atass-sports.co.uk



Follow us on Twitter: @atassSports


This email and any attachments confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. Please notify the sender immediately.
ATASS Ltd is incorporated in England and Wales with company number 04807405. See our website for further details and our privacy policy