diff options
author | QiLiang <liangqi1@huawei.com> | 2017-03-16 10:07:45 +0800 |
---|---|---|
committer | QiLiang <liangqi1@huawei.com> | 2017-03-16 10:31:47 +0800 |
commit | 532b1906b0644d836cb5f54f32a888ada35a89fb (patch) | |
tree | 20939a70e5f89680338abc3ea4139bceffdbac7a /deploy/compass_conf/progress_calculator | |
parent | e1bcc84781b51e8078387d071c24eeead2700cb9 (diff) |
Fix preseed MAC address fetch method
JIRA: -
e.g.:
root@host1:~# ip link show eth4
6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether ec:38:8f:79:fa:5c brd ff:ff:ff:ff:ff:ff
root@host1:~# echo $(echo $@ | cut -d' ' -f17)
ec:38:8f:79:fa:5c
root@host4:~# ip link show eth4
6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop portid 0100000000000000000000000000003000 state DOWN mode DEFAULT group default qlen 1000
link/ether e0:36:76:d2:34:73 brd ff:ff:ff:ff:ff:ff
root@host4:~# echo $(echo $@ | cut -d' ' -f17)
1000
root@host4:~# echo $(echo $@ | cut -d' ' -f19)
e0:36:76:d2:34:73
Change-Id: I916c19807da724e9ba471376f81f3c763b9340d5
Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'deploy/compass_conf/progress_calculator')
0 files changed, 0 insertions, 0 deletions