2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-23 06:25:38 +00:00

[fvt] 'pgsqlsetup -i ' does not work well in rhels7.3 and rhels7.4 #3579

This commit is contained in:
immarvin
2017-08-01 02:31:24 -04:00
parent 38d0f9ba25
commit cb00d0e154

View File

@ -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";