Proxy cannot download initrd images when using mirrors without $arch variables

Hi guys,

Because I have some complex kickstart templates and I think it's nicer to
use plain mirror URL's in the media I use now http://mirror.foo.bar/centos
without the $arch variables.

The issue now is that when building a host the proxy cannot download the
initrd.img anymore as this is queried without the $arch and such.

http://mirror.foo.bar/centos//images/pxeboot/initrd.img:

Is it possible to change this on the proxy or so ?

Thanks,

Matt

Proxy will download any kind of URL foreman passes it. There is no
issue with proxy.

LZ

··· On Tue, Apr 4, 2017 at 10:54 PM, Matt wrote: > Hi guys, > > Because I have some complex kickstart templates and I think it's nicer to > use plain mirror URL's in the media I use now http://mirror.foo.bar/centos > without the $arch variables. > > The issue now is that when building a host the proxy cannot download the > initrd.img anymore as this is queried without the $arch and such. > > >> http://mirror.foo.bar/centos//images/pxeboot/initrd.img: > > > > Is it possible to change this on the proxy or so ? > > > Thanks, > > Matt > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal

Hi,

Proxy adds x86_64 and so on when needed I saw in the code. This per Distro,
based on distro.

··· Op woensdag 5 april 2017 12:48:37 UTC+2 schreef Lukas Zapletal: > > Proxy will download any kind of URL foreman passes it. There is no > issue with proxy. > > LZ > > On Tue, Apr 4, 2017 at 10:54 PM, Matt <yamaka...@gmail.com > > wrote: > > Hi guys, > > > > Because I have some complex kickstart templates and I think it's nicer > to > > use plain mirror URL's in the media I use now > http://mirror.foo.bar/centos > > without the $arch variables. > > > > The issue now is that when building a host the proxy cannot download the > > initrd.img anymore as this is queried without the $arch and such. > > > > > >> http://mirror.foo.bar/centos//images/pxeboot/initrd.img: > > > > > > > > Is it possible to change this on the proxy or so ? > > > > > > Thanks, > > > > Matt > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at https://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Later, > Lukas @lzap Zapletal >

Proxy does not add anything, it's Foreman that decided the filename
based on Operating System and Architecture.

I am not sure I follow this thread.

LZ

··· On Wed, Apr 5, 2017 at 11:54 PM, Matt wrote: > Hi, > > Proxy adds x86_64 and so on when needed I saw in the code. This per Distro, > based on distro. > > > > Op woensdag 5 april 2017 12:48:37 UTC+2 schreef Lukas Zapletal: >> >> Proxy will download any kind of URL foreman passes it. There is no >> issue with proxy. >> >> LZ >> >> On Tue, Apr 4, 2017 at 10:54 PM, Matt wrote: >> > Hi guys, >> > >> > Because I have some complex kickstart templates and I think it's nicer >> > to >> > use plain mirror URL's in the media I use now >> > http://mirror.foo.bar/centos >> > without the $arch variables. >> > >> > The issue now is that when building a host the proxy cannot download the >> > initrd.img anymore as this is queried without the $arch and such. >> > >> > >> >> http://mirror.foo.bar/centos//images/pxeboot/initrd.img: >> > >> > >> > >> > Is it possible to change this on the proxy or so ? >> > >> > >> > Thanks, >> > >> > Matt >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Foreman users" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to foreman-user...@googlegroups.com. >> > To post to this group, send email to forema...@googlegroups.com. >> > Visit this group at https://groups.google.com/group/foreman-users. >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> Later, >> Lukas @lzap Zapletal


Later,
Lukas @lzap Zapletal