where can i find the answers to these questions?
Thanks,
~Talluri
On Wed, Aug 22, 2012 at 5:30 PM, <cobbler-request(a)lists.fedorahosted.org>wrote:
Send cobbler mailing list submissions to
cobbler(a)lists.fedorahosted.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.fedorahosted.org/mailman/listinfo/cobbler
or, via email, send a message with subject or body 'help' to
cobbler-request(a)lists.fedorahosted.org
You can reach the person managing the list at
cobbler-owner(a)lists.fedorahosted.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of cobbler digest..."
Today's Topics:
1. Can't read out variable repos in snippet
(Manuel.Laesser(a)swisslife.ch)
2. how to use proxy in cobbler (Shake Chen)
3. Re: how to use proxy in cobbler (James Clendenan)
----------------------------------------------------------------------
Message: 1
Date: Tue, 21 Aug 2012 14:02:15 +0000
From: <Manuel.Laesser(a)swisslife.ch>
To: <cobbler(a)lists.fedorahosted.org>
Subject: [cobbler] Can't read out variable repos in snippet
Message-ID:
<12D2842348B6F6418F2661014AEA460F22BEA2(a)NX1223.swiss.group4net.com
>
Content-Type: text/plain; charset="iso-8859-1"
Is there no one how can help me solve my problem?
Regards, Manuel
-----Ursprüngliche Nachricht-----
Von: cobbler-bounces(a)lists.fedorahosted.org [mailto:
cobbler-bounces(a)lists.fedorahosted.org] Im Auftrag von
Manuel.Laesser(a)swisslife.ch
Gesendet: Montag, 6. August 2012 08:58
An: cobbler(a)lists.fedorahosted.org
Betreff: Re: [cobbler] Can't read out variable repos in snippet
Hello James
Thank you very much for your help. I just don't get it done if I only have
one repo in $repos. With two repos in $repo your script works.
[root@cobbler ~]# cat /var/lib/cobbler/kickstarts/Test.ks
#for $repo in $repos
#if $repo.find("rhel5")
Wahoo!!
#break
#end if
#end for
[root@cobbler ~]# cobbler profile dumpvars --name=rhel5-Test | grep
"^repos "
repos : rhel58-x86_64-20120723
[root@cobbler ~]# cobbler profile getks --name=rhel5-Test
[root@cobbler ~]# cobbler profile dumpvars --name=rhel5-Test | grep
"^repos "
repos : rhel63-x86_64-20120723 rhel58-x86_64-20120723
[root@cobbler ~]# cobbler profile getks --name=rhel5-Test
Wahoo!!
[root@ux0502 kickstarts]#
Thank you very much for your help. Is there a nice documentation for
cheetah where things like this are explained? I only know Cheetah Users's
Guide from
http://packages.python.org/Cheetah/users_guide/index.html
Regards Manuel
-----Ursprüngliche Nachricht-----
Von: cobbler-bounces(a)lists.fedorahosted.org [mailto:
cobbler-bounces(a)lists.fedorahosted.org] Im Auftrag von James Cammarata
Gesendet: Dienstag, 31. Juli 2012 08:16
An: cobbler mailing list
Betreff: Re: [cobbler] Can't read out variable repos in snippet
On Tue, Jul 31, 2012 at 12:58 AM, <Manuel.Laesser(a)swisslife.ch> wrote:
> Hello James
> Thank you for your answer. Unfortunately this doesn't work. My wget
won't be executed even a active repo.
>
> [root@cobbler sl]# cobbler profile dumpvars --name=rhel5-intranet |
grep -w repos
> repos : rhel58-x86_64-20120723
> [root@cobbler sl]# cobbler profile getks --name=rhel5-Intranet | grep
updates
> repo --name=rhel58-x86_64-20120723 --baseurl=
http://cobbler/pub/updates/rhel5server-x86_64/20120723
> [root@cobbler sl]#
$ cobbler system dumpvars --name=test | grep "^repos "
repos : passenger-f16-x86_64 openshift-f16-x86_64 fedora-ruby-x86_64
$ cat /var/lib/cobbler/kickstarts/test.ks
#for $repo in $repos
#if $repo.find("ruby")
Wahoo!!
#break
#end if
#end for
$ cobbler system getks --name=test
Wahoo!!
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
------------------------------
Message: 2
Date: Wed, 22 Aug 2012 19:22:04 +0800
From: Shake Chen <shake.chen(a)gmail.com>
To: cobbler(a)lists.fedorahosted.org
Subject: [cobbler] how to use proxy in cobbler
Message-ID:
<
CAO__-NY6ymt8zCX2xdizA+6wMytBLBdQoxF2fThkW4uL_aq0Xg(a)mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi
Now I install squid in cobbler machine.
when the Centos install, how to make the request through the squid? how to
setting the kickstart?
in ubuntu, it is easy, just add one line in preseed file.
d-i mirror/http/proxy string
http://10.1.199.5:3128/
--
Shake Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://lists.fedorahosted.org/pipermail/cobbler/attachments/20120822/4f9...
>
------------------------------
Message: 3
Date: Wed, 22 Aug 2012 12:57:52 +0100
From: James Clendenan <james.clendenan(a)gmail.com>
To: cobbler mailing list <cobbler(a)lists.fedorahosted.org>
Cc: "cobbler(a)lists.fedorahosted.org" <cobbler(a)lists.fedorahosted.org>
Subject: Re: [cobbler] how to use proxy in cobbler
Message-ID: <0E72EB62-DA5F-420C-9C60-E2AA7CDED9B9(a)gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi shake
You should be able to use the --proxy option to the URL command
http://fedoraproject.org/wiki/Anaconda/Kickstart#Chapter_1._Introduction
Is a great Referance site for kickstart options.
Hope that helps.
James
--
Sent from my phone.
On 2012-08-22, at 12:22 PM, Shake Chen <shake.chen(a)gmail.com> wrote:
> Hi
>
> Now I install squid in cobbler machine.
>
> when the Centos install, how to make the request through the squid? how
to setting the kickstart?
>
> in ubuntu, it is easy, just add one line in preseed file.
> d-i mirror/http/proxy string
http://10.1.199.5:3128/
>
>
> --
> Shake Chen
>
>
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/mailman/listinfo/cobbler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://lists.fedorahosted.org/pipermail/cobbler/attachments/20120822/917...
>
------------------------------
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
End of cobbler Digest, Vol 50, Issue 25
***************************************