Try and utilize the command lines.
spacewalk-clone-by-date
!!!RESTART TASKOMATIC!!!! before running this:
/usr/bin/spacewalk-manage-channel-lifecycle -c $fromchnl --no-children
--promote
Base -> Always updating from the public repo's
date{x}Base -> Frozen at Date {x}
*Note, some 3rd party apps require certain kernels etc. So, if
needed, have a distro associated with this and a kickstart... Just make
sure kickstart doesn't run "yum update -y"
You can still activate to the dev/test/prod channels via
activation keys. Just as long as yum update is not ran afterwards, that
would break the apps.
To handle that you can during build time put in something like
patch=NO...
Then in the kickstart "cat /proc/cmdline /tmp/cmdline."
If [[ ! `grep "patch=NO" /tmp/cmdline` ]]; then yum update -y; fi
date{y}Base -> Frozen at Date {y}
dev-Base ->
test-Base ->
prod-Base ->
We do the same with child channels
Thanks and good luck
From: "Shaw, Michael" <[email protected]>
To: "[email protected]" <[email protected]>
Date: 01/12/2017 02:53 PM
Subject: [Spacewalk-list] Need to setup monthly patching - while
keeping base release frozen.
Sent by: [email protected]
This email originated from outside of the company. Please use discretion
if opening attachments or clicking on links.
Hello,
I walked into an environment that had no frozen channels and monthly
patching happened by whatever was available in the channel at the time,
i.e. if there was a kernel upgrade then the kernel upgraded. This has
ended up causing issues.
I have since then locked all of the hosts and created base OS channels,
i.e. RHEL5.11, RHEL6.8, RHEL7.1, RHEL7.2, etc. I have also started
creating a monthly patch channels but how can I merge the channels?
I need to keep the hosts at certain release level, i.e. RHEL7.2, but still
apply monthly patches. It doesn’t seem like there is a straight forward
way to do this?
Regards,
Mike
---
Mike Shaw – Linux Systems Administrator
ITS - Production Operations – PaaS
Phone-919.541.6003 Skype-live:mdshaw89
RTI International
[email protected]
This email originated from outside of the company. Please use discretion
if opening attachments or clicking on links.
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list
**
This email and any attachments may contain information that is confidential
and/or privileged for the sole use of the intended recipient. Any use, review,
disclosure, copying, distribution or reliance by others, and any forwarding of
this email or its contents, without the express permission of the sender is
strictly prohibited by law. If you are not the intended recipient, please
contact the sender immediately, delete the e-mail and destroy all copies.
**
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list