Commit 82d16e8
committed
utils_net: disable color chars
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>1 parent 27a366f commit 82d16e8
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1501 | 1501 | | |
1502 | 1502 | | |
1503 | 1503 | | |
1504 | | - | |
| 1504 | + | |
1505 | 1505 | | |
1506 | 1506 | | |
1507 | 1507 | | |
| |||
1511 | 1511 | | |
1512 | 1512 | | |
1513 | 1513 | | |
1514 | | - | |
| 1514 | + | |
1515 | 1515 | | |
1516 | 1516 | | |
1517 | 1517 | | |
| |||
1549 | 1549 | | |
1550 | 1550 | | |
1551 | 1551 | | |
1552 | | - | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
1553 | 1559 | | |
1554 | 1560 | | |
1555 | 1561 | | |
| |||
1570 | 1576 | | |
1571 | 1577 | | |
1572 | 1578 | | |
1573 | | - | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
1574 | 1582 | | |
1575 | 1583 | | |
1576 | 1584 | | |
| |||
0 commit comments