[ipxe-devel] removing urinstring
Christoph Schug
chris+ipxe-devel at schug.net
Wed Aug 19 11:21:38 UTC 2015
On 2015-08-12 17:27, Fabrice Bacchella wrote:
> It was removed in this commit
> :https://github.com/ipxe/ipxe/commit/09b057ce841156cf8dfb8d356d36b046d875cdf4
> [1]
>
> But I have to problems with it.
>
> First the documentation was not udpated, that's not helpfull
> http://ipxe.org/cfgtype/string [2].
>
> But worst it suppose it's only needed in HTTP url, but that's wrong.
[...]
I was also bitten by this change in a similar scenario as I was
(ab)using :uristring to accomplish some hardware-specific lookups to
construct the proper kernel parameters for serial port access. I helped
myself by switching over to :hexhyp encoding which doesn't really
enhance readability.
For example, without a comment, it is not that obvious that I am dealing
with a HP ProLiant DL380 Gen8 here.
iseq ${manufacturer:hexhyp}__${product:hexhyp}
48-50__50-72-6f-4c-69-61-6e-74-20-44-4c-33-38-30-20-47-65-6e-38 && set
console_args console=tty0 console=ttyS1,115200n8
It would be really great, if :uristring would be restored again or iseq
would be able to deal with whitespaces somehow. Quoting comes to mind,
but I can imaging that this would introduce a whole lot more of
complexity.
More information about the ipxe-devel
mailing list