Darryl L. Pierce
2009-Apr-01 19:28 UTC
[Ovirt-devel] [PATCH node] Removes URL encoding from the mac list.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- scripts/ovirt-early | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/scripts/ovirt-early b/scripts/ovirt-early index 11a32cb..1260900 100755 --- a/scripts/ovirt-early +++ b/scripts/ovirt-early @@ -22,11 +22,10 @@ get_mac_addresses() { if [ "$device" != "$DEVICE" ]; then mac=$(cat /sys/class/net/$device/address 2>/dev/null) if [ -n "$mac" -a "$mac" != "00:00:00:00:00:00" ]; then - macs="${macs}${mac}=${device} " + macs="${macs}${mac}=${device}," fi fi done - macs=$(echo $macs | sed 's/ /%2C/g;s/:/%3A/g;s/=/%3D/g') } configure_from_network() { -- 1.6.0.6