2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #3580 from immarvin/onpgs

[fvt] 'pgsqlsetup -i ' does not work well in rhels7.3 and rhels7.4 #3579
This commit is contained in:
Yuan Bai 2017-08-01 15:18:08 +08:00 committed by GitHub
commit 7ad524712c

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