summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-21 14:30:19 +0100
committerYour Name2017-11-21 14:30:19 +0100
commit4cbea6a8aed36621c3d6c61ceba52a2f50c913f5 (patch)
treef27bc65ce7a21ce6a4d48465443504f85198b51c /core/modules/hardware-stats
parent[vmware] mv libexpat.so.1 to libexpat.so.0 (...) (diff)
downloadmltk-4cbea6a8aed36621c3d6c61ceba52a2f50c913f5.tar.gz
mltk-4cbea6a8aed36621c3d6c61ceba52a2f50c913f5.tar.xz
mltk-4cbea6a8aed36621c3d6c61ceba52a2f50c913f5.zip
[hardware-stats] Different fallback mac for dmidecode fails
This collided with the blacklisted UUIDs and led to errors in slx-admin. Fixes #3227
Diffstat (limited to 'core/modules/hardware-stats')
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
index b08eb0f5..b13b1f97 100755
--- a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
+++ b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
@@ -85,7 +85,7 @@ if [ -z "$UUID" ] || [ "${#UUID}" -ne "36" ]; then
fi
if [ "${#UUID}" -ne "36" ]; then
echo "Determined UUID (${UUID}) has not expected length of 36, falling back to MAC..."
- UUID="000000000000000-$BOOTIF"
+ UUID="000000000000001-$BOOTIF"
fi
echo "UUID=$UUID"