Problem:
Trying to access Installation Media URL/path from within provisioning PXELinux template
Expected outcome:
Using @host.operatingsystem.mediumpath(@host) results in:
url --url http://hostname/upstream/yum/rocky/9.3/BaseOS/x86_64/os
but I need only:
http://hostname/upstream/yum/rocky/9.3/BaseOS/x86_64/os
I can fudge it with @host.operatingsystem.mediumpath(@host).match(/http.*/), but wondering if there is another way or something I am missing. Looks like this API has changed quite a bit.
Foreman and Proxy versions:
Foreman v3.10.0
Thanks!