From 52258fae0a9770d64032a300311299ffe367898e Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 24 Nov 2017 08:39:08 +0000 Subject: [PATCH] Modify UUID generate command and resolve hanging issue --- Linux Script/configure-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux Script/configure-linux.sh b/Linux Script/configure-linux.sh index ecb5b60..e614e96 100644 --- a/Linux Script/configure-linux.sh +++ b/Linux Script/configure-linux.sh @@ -734,7 +734,7 @@ createRsyslogDir() { #check if the logs made it to Loggly checkIfLogsMadeToLoggly() { logMsgToConfigSysLog "INFO" "INFO: Sending test message to Loggly." - uuid=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) + uuid=$(cat /proc/sys/kernel/random/uuid) queryParam="syslog.appName%3ALOGGLYVERIFY%20$uuid" logger -t "LOGGLYVERIFY" "LOGGLYVERIFY-Test message for verification with UUID $uuid"