2020-09-10, 13:29
Hello,
First, many thanks for providing iPXE. I am using it a lot.
I was wondering if there is a way to use colors in echo?
In bash, it is possible to add colors using
and using
to define a color for example.
Would such a thing be possible in iPXE?
Since I see colors during dhcp request (I built with debug), maybe there is a way...
Need is the following. On some systems, I need to easily display errors or things like this, during iPXE scripts execution. Having colors would be a nice way to express errors, warning, infos, etc.
Thanks a lot!
With my best regards
Beuk
First, many thanks for providing iPXE. I am using it a lot.

I was wondering if there is a way to use colors in echo?
In bash, it is possible to add colors using
Code:
echo -e
Code:
\e[1m\e[38;5;202m
Would such a thing be possible in iPXE?
Since I see colors during dhcp request (I built with debug), maybe there is a way...
Need is the following. On some systems, I need to easily display errors or things like this, during iPXE scripts execution. Having colors would be a nice way to express errors, warning, infos, etc.
Thanks a lot!
With my best regards
Beuk