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/
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@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@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
Hi
Thanks James the document.
but when I add the below to kickstart
url --url=proxy=$http_server:3128
but seem no working, I monitor the squid log,
I try to add kernel option
Kernel Options : {'proxy': 'http://10.1.199.5:3128%27%7D
it is working. all the request though squid.
but I found after finished installed, the node never use squid.
so I have to modiy /etc/yum.conf
proxy=http://10.1.199.5:3128
now all the request would through squid.
I found in snippet, have proxy.xml, whether is possible use it ?
On Wed, Aug 22, 2012 at 7:57 PM, James Clendenan james.clendenan@gmail.comwrote:
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@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@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
On Thu, Aug 23, 2012 at 7:11 AM, Shake Chen shake.chen@gmail.com wrote:
Hi
Thanks James the document.
but when I add the below to kickstart
url --url=proxy=$http_server:3128
but seem no working, I monitor the squid log,
I try to add kernel option
Kernel Options : {'proxy': 'http://10.1.199.5:3128%27%7D
it is working. all the request though squid.
but I found after finished installed, the node never use squid.
so I have to modiy /etc/yum.conf
proxy=http://10.1.199.5:3128
now all the request would through squid.
I found in snippet, have proxy.xml, whether is possible use it ?
Installing through a proxy (url --proxy) is supported starting from rhel 6.2 iirc. Earlier versions were able to get the kickstart file through a proxy by supplying the proxy kernel option, but then anaconda would fail trying to get the rpm's.
In later versions there is a proxy field in the profile and system objects, so you could use that instead of a kernel option.
The proxy.xml snippet is intended for SuSE (autoyast) based systems, which have had proper proxy support for years now.
HTH
On Thu, Aug 23, 2012 at 2:46 PM, Jörgen Maas jorgen.maas@gmail.com wrote:
On Thu, Aug 23, 2012 at 7:11 AM, Shake Chen shake.chen@gmail.com wrote:
Hi
Thanks James the document.
but when I add the below to kickstart
url --url=proxy=$http_server:3128
but seem no working, I monitor the squid log,
I try to add kernel option
Kernel Options : {'proxy': 'http://10.1.199.5:3128%27%7D
it is working. all the request though squid.
but I found after finished installed, the node never use squid.
so I have to modiy /etc/yum.conf
proxy=http://10.1.199.5:3128
now all the request would through squid.
I found in snippet, have proxy.xml, whether is possible use it ?
Installing through a proxy (url --proxy) is supported starting from rhel 6.2 iirc.
I try it on centos 6.3
# Use network installation url --url=http://10.1.199.5/cblr/links/CentOS6.3-x86_64 url --url=proxy=10.1.199.5:3128
but no work
Earlier versions were able to get the kickstart file through a proxy by supplying the proxy kernel option, but then anaconda would fail trying to get the rpm's.
In later versions there is a proxy field in the profile and system objects, so you could use that instead of a kernel option.
I use the newest version of cobbler 2.3.2
I have found the profile have proxy setting and add it.
[root@node05 links]# cobbler profile report --name=CentOS6.3-x86_64 | grep Proxy Proxy : http://10.1.199.5:3128
but no working.
only can work in Kernel Options
The proxy.xml snippet is intended for SuSE (autoyast) based systems, which have had proper proxy support for years now.
HTH
-- Grtz, Jörgen Maas
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
On Thu, Aug 23, 2012 at 9:18 AM, Shake Chen shake.chen@gmail.com wrote:
I try it on centos 6.3
# Use network installation url --url=http://10.1.199.5/cblr/links/CentOS6.3-x86_64 url --url=proxy=10.1.199.5:3128
but no work
try:
url --proxy=http://1.2.3.4:1234 --url=http://5.6.7.8/path/to/repo
On Thu, Aug 23, 2012 at 8:07 PM, Jörgen Maas jorgen.maas@gmail.com wrote:
On Thu, Aug 23, 2012 at 9:18 AM, Shake Chen shake.chen@gmail.com wrote:
I try it on centos 6.3
# Use network installation url --url=http://10.1.199.5/cblr/links/CentOS6.3-x86_64 url --url=proxy=10.1.199.5:3128
but no work
try:
url --proxy=http://1.2.3.4:1234 --url=http://5.6.7.8/path/to/repo
Thanks, it work.
in ks file
url --proxy=$http_server:3128 --url=$tree
in system
url --proxy=10.1.199.5:3128 --url=http://10.1.199.5/cblr/links/CentOS6.3-x86_64
I think this is the right way to set the proxy.
-- Grtz, Jörgen Maas
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
Hi
thanks for help, now I have solve all the problem relate cobbler.
the below is my ks file.
http://www.chenshake.com/wp-content/uploads/2012/08/centos.ks_.txt
On Thu, Aug 23, 2012 at 9:15 PM, Shake Chen shake.chen@gmail.com wrote:
On Thu, Aug 23, 2012 at 8:07 PM, Jörgen Maas jorgen.maas@gmail.comwrote:
On Thu, Aug 23, 2012 at 9:18 AM, Shake Chen shake.chen@gmail.com wrote:
I try it on centos 6.3
# Use network installation url --url=http://10.1.199.5/cblr/links/CentOS6.3-x86_64 url --url=proxy=10.1.199.5:3128
but no work
try:
url --proxy=http://1.2.3.4:1234 --url=http://5.6.7.8/path/to/repo
Thanks, it work.
in ks file
url --proxy=$http_server:3128 --url=$tree
in system
url --proxy=10.1.199.5:3128 --url=http://10.1.199.5/cblr/links/CentOS6.3-x86_64
I think this is the right way to set the proxy.
-- Grtz, Jörgen Maas
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
-- Shake Chen
cobbler@lists.fedorahosted.org