diff options
author | Marcin Godzina <mgodzina@isc.org> | 2024-10-23 13:48:30 +0200 |
---|---|---|
committer | Marcin Godzina <mgodzina@isc.org> | 2024-10-23 13:48:30 +0200 |
commit | 978f0f87ab59e214883eedae40fe3d22557e152c (patch) | |
tree | 78c0324383763bfbbec7778dfd8cda0b7e1e1f95 /hammer.py | |
parent | [#3582] Tab fix in changelog (diff) | |
download | kea-978f0f87ab59e214883eedae40fe3d22557e152c.tar.xz kea-978f0f87ab59e214883eedae40fe3d22557e152c.zip |
[#3630] forge db init fix
Diffstat (limited to 'hammer.py')
-rwxr-xr-x | hammer.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1596,6 +1596,12 @@ def _configure_pgsql(system, features): cmd += "EOF\n\"" execute(cmd, cwd='/tmp') + # This is needed for postgres >= 15 + cmd = """sh -c \"cat <<EOF | sudo -u postgres psql -U postgres -d keadb + GRANT ALL PRIVILEGES ON SCHEMA public TO keauser;\n""" + cmd += 'EOF\n"' + execute(cmd, cwd='/tmp') + log.info('postgresql just configured') |