Bjorn Oglefjorn wrote:
'cobbler sync' should not generate 'repo' directives in place of $yum_repo_stanza for any repos with yumopts 'enabled=0'.
This should be true for both profiles and systems.

eg:
profile 'testProfile' has three repos:
  repo1
  repo2
  repo3
repo2 has yumopts 'enabled=0'

In the 'cobbler sync' generated kickstart for 'testProfile', $yum_repo_stanza should expand to:
  repo --name=repo1 --baseurl=blah
  repo --name=repo3 --baseurl=blahagain

A patch is attached in git diff format.

--Vito

Applied to devel, thanks!

--Michael


------------------------------------------------------------------------

_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Reply via email to