diff options
| author | l0crian1 <143656816+l0crian1@users.noreply.github.com> | 2025-09-18 10:14:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-18 16:14:55 +0200 |
| commit | 098988988d3126d084482821c30d5332ce5bb66b (patch) | |
| tree | c5202c7a7ffe171e54b0ae920213647659c4b406 /python | |
| parent | 1522496d16c77a5f69c96e01a72780e33e9045a3 (diff) | |
| download | vyos-1x-098988988d3126d084482821c30d5332ce5bb66b.tar.gz vyos-1x-098988988d3126d084482821c30d5332ce5bb66b.zip | |
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']
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/defaults.py | 1 |
1 files changed, 1 insertions, 0 deletions
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' |
