utils_net: disable color chars#4060
Conversation
|
Before the fix: After the fix: |
chloerh
left a comment
There was a problem hiding this comment.
We could add an option instead
|
@rh-jugraham yes, I forgot this PR. I will update it today. |
ce24508 to
2a35efc
Compare
197caec to
2c35528
Compare
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 <dzheng@redhat.com>
2c35528 to
82d16e8
Compare
YvanY0
left a comment
There was a problem hiding this comment.
I think this is safe for qemu level, LGTM
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 dzheng@redhat.com