aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-02-16 16:25:55 -0500
committerBill Nottingham <notting@redhat.com>2010-04-09 16:35:53 -0400
commitf71a7bdfebde45f501a801514a2145e720be1b06 (patch)
treefe0be61b072ddb42456cd5c755e0a0f6dbf9c695
parent08adb9935d28b9e9d2e91e6beeeb6cdbd0fc6e5e (diff)
downloadinitscripts-f71a7bdfebde45f501a801514a2145e720be1b06.tar
initscripts-f71a7bdfebde45f501a801514a2145e720be1b06.tar.gz
initscripts-f71a7bdfebde45f501a801514a2145e720be1b06.tar.bz2
initscripts-f71a7bdfebde45f501a801514a2145e720be1b06.tar.xz
initscripts-f71a7bdfebde45f501a801514a2145e720be1b06.zip
Remove quotes from uuid.
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 9eace72a..88a9757f 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -134,7 +134,7 @@ source_config ()
fi
is_nm_running && USE_NM=true
if [ -z "$NAME" -a "$USE_NM" = "true" ]; then
- UUID=$(nmcli -t con list id "System ${DEVICE}" 2>/dev/null| awk '/uuid :/ { print $3 }')
+ UUID=$(nmcli -t con list id "System ${DEVICE}" 2>/dev/null| awk '/uuid :/ { print gensub("\"","","g",$3) }')
[ -n "$UUID" ] && NAME="System ${DEVICE}"
fi
}