From 098988988d3126d084482821c30d5332ce5bb66b Mon Sep 17 00:00:00 2001 From: l0crian1 <143656816+l0crian1@users.noreply.github.com> Date: Thu, 18 Sep 2025 10:14:55 -0400 Subject: container: T6673: Fix restart of containers with podman (#4691) Fixed issue with podman and systemd sync when restarting containers with 'podman restart' command. - Placed podman storage directory in vyos/defaults.py - Replaced repeated declarations with vyos.defaults.directories['podman_storage'] --- python/vyos/defaults.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python') diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py index 5e3ba4e63..027e4480d 100644 --- a/python/vyos/defaults.py +++ b/python/vyos/defaults.py @@ -38,6 +38,7 @@ directories = { 'vyos_configdir' : '/opt/vyatta/config', 'completion_dir' : f'{base_dir}/completion', 'ca_certificates' : '/usr/local/share/ca-certificates/vyos', + 'podman_storage' : '/usr/lib/live/mount/persistence/container/storage', 'ppp_nexthop_dir' : '/run/ppp_nexthop', 'proto_path' : '/usr/share/vyos/vyconf', 'vyconf_session_dir' : f'{base_dir}/vyconf/session' -- cgit v1.2.3