Satellite 5.6 auto upgrade existing packages
I am trying to setup my satellite server to auto clone and upgrade existing packages on all my servers. I got the cloning down by using:
spacewalk-clone-by-date -u omitted -p omitted -l rhel-x86_64-server-6 otc-rhel-x86_64-server-6 -l rhel-x86_64-server-optional-6 otc-rhel-x86_64-server-optional-6 -l rhel-x86_64-server-supplementary-6 otc-rhel-x86_64-server-supplementary-6 -l rhn-tools-rhel-x86_64-server-6 otc-rhn-tools-rhel-x86_64-server-6 -d date +%Y-%m-%d
-z -n -g -y
But how do I upgrading the existing packages after I cloned them to the channel? I tried spacecmd but I couldn't find any command that worked for this yet.
For reference what I am trying to do is take out the manual step of going into the GUI and clicking: Systems > click group name > work with group >
Packages > Upgrade existing packages > Upgrade Selected packages > Schedule install