uyuni-project / uyuni

Source code for Uyuni
https://www.uyuni-project.org/
GNU General Public License v2.0
428 stars 179 forks source link

Ubuntu/Debian errrata import scripts #1250

Open vampywiz17 opened 5 years ago

vampywiz17 commented 5 years ago

Hello there,

I use this bunch of scripts to import Ubuntu/Debian errata information.

https://github.com/philicious/spacewalk-scripts

I only just link to you, that is hope to help you to integrate this feature to your official release.

Shirocco88 commented 4 years ago

@vampywiz17 Could you please add label "ubuntu", "Debian"

Thanks in Advance.

Shirocco88 commented 4 years ago

I use this bunch of scripts to import Ubuntu/Debian errata information.

@vampywiz17 Could you please describe how to use these scripts in order to import errata information to Ubuntu-20.04 https://github.com/philicious/spacewalk-scripts

Thanks in Advance. Best regards. Shirocco88

Shirocco88 commented 4 years ago

Hint: Found another issue with the same context: Apply erratas to Debian / Ubuntu systems #2068

https://github.com/uyuni-project/uyuni/issues/2068

vampywiz17 commented 4 years ago

I use this bunch of scripts to import Ubuntu/Debian errata information.

@vampywiz17 Could you please describe how to use these scripts in order to import errata information to Ubuntu-20.04 https://github.com/philicious/spacewalk-scripts

Thanks in Advance. Best regards. Shirocco88

We not use our infra 20.04, only 18.04

Shirocco88 commented 4 years ago

@vampywiz17

We not use our infra 20.04, only 18.04

Could you please describe how to use these scripts in order to import errata information to Ubuntu-18.04 https://github.com/philicious/spacewalk-scripts

Thanks in Advance. Best regards. Shirocco88

vampywiz17 commented 3 years ago

@paususe

copy all data from github repo to /opt/spacewalk-errata/ folder.

Edit errata-import.py (only need to change the settings part)

#Config Settings#
url = "http://localhost/rpc/api"
login = "admin"
passwd = "**************"
filename = 'ubuntu-errata.xml'
excludedChannels = ['precise', 'trusty'] # Scan all available channels except these ones
includedChannels = [ ] # Only scan channels on this list
#Config Settings#

and set a schelude to run spacewalk-errata.sh via crontab.

Thats all.

vampywiz17 commented 3 years ago

@paususe

Need some modificaton that @Twhitehouse-SSHIS do this, to fit latest Uyuni versions. I forked it and fix some spelling.

https://github.com/vampywiz17/spacewalk-ubuntu-errata