[Ovirt-devel] [PATCH node] Removes URL encoding from the mac list.
Darryl L. Pierce
dpierce at redhat.com
Wed Apr 1 19:28:58 UTC 2009
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
More information about the ovirt-devel
mailing list