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:
commit
7ad524712c
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user