FYI, the CentOS channels can be set up through spacewalk-common-channels
(available in the spacewalk-utils RPM.) The repositories will be set up for
the created channels.
$ sudo spacewalk-common-channels --help
usage: spacewalk-common-channels [options] <channel1 glob> [<channel2 glob> ...
]
options:
-c CONFIG, --config=CONFIG
configuration file
-u USER, --user=USER username
-p PASSWORD, --password=PASSWORD
password
-s SERVER, --server=SERVER
your spacewalk server
-k KEY_LIMIT, --keys=KEY_LIMIT
activation key usage limit - 'unlimited' or number
(default: options is not set and activation keys are
not created at all)
-n, --dry-run perform a trial run with no changes made
-a ARCHS, --archs=ARCHS
list of architectures
-v, --verbose verbose
-l, --list print list of available channels
-d, --default-channels
make base channels default channels for given OS
version
-h, --help show this help message and exit
Examples:
Create Fedora 12 channel, its child channels and activation key limited to 10
servers:
/usr/bin/spacewalk-common-channels -u admin -p pass -k 10 'fedora12*'
Create Centos 5 with child channels only on x86_64:
/usr/bin/spacewalk-common-channels -u admin -p pass -a x86_64 'centos5*'
Create only Centos 4 base channels for intel archs:
/usr/bin/spacewalk-common-channels -u admin -p pass -a i386,x86_64 'centos4'
Create Spacewalk client child channel for every (suitable) defined base channel:
/usr/bin/spacewalk-common-channels -u admin -p pass 'spacewalk-client*'
Create everything as well as unlimited activation key for every channel:
/usr/bin/spacewalk-common-channels -u admin -p pass -k unlimited '*'
Jeff Kalchik
Systems Engineering
Land O'Lakes
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Kobus Bensch
Sent: Tuesday, November 24, 2015 8:14 AM
To: [email protected]
Subject: Re: [Spacewalk-list] Spacewalk config: Redhat repo?
How did you do the centos repos?
On 24/11/2015 13:54, Nicolas Repentin wrote:
> Hi all,
>
> I'm trying Spacewalk, it's great.
>
> I've successfully configured it to sync centos repositories.
> Can we do the same for redhat repositories? If yes, how?
>
>
> Thanks,
>
>
> Nicolas
> <[email protected] <mailto:[email protected]>>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list
--
Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems
Administrator
Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD
DDI: 0207 871 3958
Tel: 0207 871 3890
Email: [email protected]
<mailto:[email protected]>
--
Trustpay Global Limited is an authorised Electronic Money Institution regulated
by the Financial Conduct Authority registration number 900043.
Company No 07427913 Registered in England and Wales with registered address
130 Wood Street, London, EC2V 6DL, United Kingdom.
For further details please visit our website at www.trustpayglobal.com.
The information in this email and any attachments are confidential and remain
the property of Trustpay Global Ltd unless agreed by contract. It is intended
solely for the person to whom or the entity to which it is addressed. If you
are not the intended recipient you may not use, disclose, copy, distribute,
print or rely on the content of this email or its attachments. If this email
has been received by you in error please advise the sender and delete the email
from your system. Trustpay Global Ltd does not accept any liability for any
personal view expressed in this message.
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list
This message may contain confidential material from Land O'Lakes, Inc. (or its
subsidiary) for the sole use of the intended recipient(s) and may not be
reviewed, disclosed, copied, distributed or used by anyone other than the
intended recipient(s). If you are not the intended recipient, please contact
the sender by reply email and delete all copies of this message.
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list