Skip to content

Commit

Permalink
???
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Beck committed Jun 10, 2020
1 parent 40f8047 commit 4b1bab4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
$psqldir = (([System.IO.Path]::GetDirectoryName([System.IO.Path]::GetDirectoryName($psqlPath))))
$cfgdir = Join-Path -Path $psqldir -ChildPath data
$cfgpath = Join-Path -Path $cfgdir -ChildPath "pg_hba.conf"
Write-Output "Getting network info"
Get-NetIPAddress | Format-Table
Write-Output "Existing pg_hba.conf:"
type $cfgpath
Write-Output "Writing to pg_hba config at: $cfgpath"
Set-Content "$cfgpath" "host all all ::1/128 trust"
Add-Content "$cfgpath" "host all all 127.0.0.1/32 trust"
Expand Down

0 comments on commit 4b1bab4

Please sign in to comment.