From 3ec80ad68873a18b02cd70964d1c872c3f4ba8df Mon Sep 17 00:00:00 2001 From: Matteo Valentini Date: Tue, 10 Dec 2024 15:39:10 +0100 Subject: [PATCH] fix(clone-module): correct env-file syntax The `--env-file` argument was previously enclosed in quotes, which could cause issues when the command is executed. This change removes the unnecessary quotes to ensure that the environment variables are correctly passed to the `podman exec` command. --- imageroot/actions/clone-module/21set_mariadb_passwords | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imageroot/actions/clone-module/21set_mariadb_passwords b/imageroot/actions/clone-module/21set_mariadb_passwords index 06cb50c43..cda9cc020 100755 --- a/imageroot/actions/clone-module/21set_mariadb_passwords +++ b/imageroot/actions/clone-module/21set_mariadb_passwords @@ -20,4 +20,4 @@ FlUSH PRIVILEGES; agent.run_helper(*f'podman exec mariadb mysql -u root -p{MARIADB_ROOT_PASSWORD_OLD} -e'.split(), SQL_QUERY).check_returncode() # Set the new passwords -agent.run_helper(*f'podman exec --env-file="passwords.env" mariadb /docker-entrypoint-initdb.d/90_users.sh'.split()).check_returncode() +agent.run_helper(*f'podman exec --env-file=passwords.env mariadb /docker-entrypoint-initdb.d/90_users.sh'.split()).check_returncode()