diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-06 17:57:24 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-09 13:25:37 +0000 |
commit | ca402f5d895b2345ee597fa762faf71dfff8f0d9 (patch) | |
tree | f2ee7d0f4e06ff822830af1e5c8eb8ee220ee702 /debian | |
parent | b2afa78d6f006e753be1fa07a640d14fe94a0b8f (diff) | |
download | vyos-1x-ca402f5d895b2345ee597fa762faf71dfff8f0d9.tar.gz vyos-1x-ca402f5d895b2345ee597fa762faf71dfff8f0d9.zip |
container: T6702: re-add missing UNIX API socketmergify/bp/sagitta/pr-4034
During podman upgrade and a build from the original source the UNIX socket
definition for systemd got lost in translation.
This commit re-adds the UNIX socket which is started on boot to interact with
Podman.
Example:
curl --unix-socket /run/podman/podman.sock -H 'content-type: application/json' \
-sf http://localhost/containers/json
(cherry picked from commit f67e217f2716937115a3bdf6d316b172bbec75e5)
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyos-1x.postinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst index 778cb10c1..8d27a2a70 100644 --- a/debian/vyos-1x.postinst +++ b/debian/vyos-1x.postinst @@ -187,6 +187,9 @@ fi # Enable Cloud-init pre-configuration service systemctl enable vyos-config-cloud-init.service +# Enable Podman API +systemctl enable podman.service + # Generate API GraphQL schema /usr/libexec/vyos/services/api/graphql/generate/generate_schema.py |