Skip to content

rauldsl/sat6CRollbackHostPackages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

sat6CompareHostPackages

In Satellite 5 was pretty easy by interface API realize downgrade pkgs but Satellite 6 isn't able to do that by API

So, Using this script it's possible rollback pkgs between hosts by python script trough CLI.

Given two hosts, show the package differences between them.

Usage

↪ ./sat6CompareHostPackages.py -l admin \
       -s satellite.example.com \
       --source-host auth01.example.com \
       --target-host auth02.example.com
admin's password:
There are 9 packages that differ from auth01.example.com -> auth02.example.com
	cyrus-sasl-plain-2.1.26-20.el7_2.x86_64
	openscap-1.2.10-2.el7.x86_64
	openscap-scanner-1.2.10-2.el7.x86_64
	openssh-6.6.1p1-23.el7_2.x86_64
	openssh-clients-6.6.1p1-23.el7_2.x86_64
	openssh-server-6.6.1p1-23.el7_2.x86_64
	subscription-manager-migration-1.17.15-1.el7.x86_64
	subscription-manager-migration-data-2.0.31-1.el7.noarch
	yajl-2.0.4-4.el7.x86_64

There are 3 packages that differ from auth02.example.com -> auth01.example.com
	openssh-6.6.1p1-31.el7.x86_64
	openssh-clients-6.6.1p1-31.el7.x86_64
	openssh-server-6.6.1p1-31.el7.x86_64

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages