From cb00d0e154cb42022364590bf69f745e936993a4 Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 1 Aug 2017 02:31:24 -0400 Subject: [PATCH] [fvt] 'pgsqlsetup -i ' does not work well in rhels7.3 and rhels7.4 #3579 --- xCAT-client/bin/pgsqlsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/bin/pgsqlsetup b/xCAT-client/bin/pgsqlsetup index 7446f7aeb..5e9152c3c 100755 --- a/xCAT-client/bin/pgsqlsetup +++ b/xCAT-client/bin/pgsqlsetup @@ -760,7 +760,7 @@ sub initpgdb { $insertstr .= "host all all "; $insertstr .= $hbaaccess; - $insertstr .= "\/32 md5\n "; # add entry line to string + $insertstr .= "\/32 md5\\n "; # add entry line to string } } $cmd = "awk '{gsub(\"\IPv4 local connections:\",\"\IPv4 local connections:\\n$insertstr \"); print}' $hbafile > $hbafile.xcat";