avocado-vt icon indicating copy to clipboard operation
avocado-vt copied to clipboard

utils_net: disable color chars

Open dzhengfy opened this issue 2 weeks ago • 1 comments

The command might output ip address with color characters which will break the script, like below. Get ipv6 address of vm1: [34m2620:52:11:1601:982f:7bff:fe94:1415[0m

This is to disable the color characters in the outputs.

Signed-off-by: Dan Zheng [email protected]

dzhengfy avatar Feb 06 '25 12:02 dzhengfy