mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 18:08:16 +00:00
[#3630] forge db init fix
This commit is contained in:
parent
5fd6a79eeb
commit
978f0f87ab
@ -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')
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user