Merge "Use podman interactive mode when restoring db"

changes/04/794804/4
Zuul 2 years ago committed by Gerrit Code Review
commit 6def2b9b0b

@ -546,7 +546,7 @@ class HeatPodLauncher(HeatContainerLauncher):
try:
with open(db_dump_path) as f:
subprocess.run([
'sudo', 'podman', 'exec', '-u', 'root',
'sudo', 'podman', 'exec', '-i', '-u', 'root',
'mysql', 'mysql', 'heat'], stdin=f,
check=True)
finally:

Loading…
Cancel
Save