summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-06 17:57:24 +0200
committerChristian Breunig <christian@breunig.cc>2024-09-06 18:05:23 +0200
commitf67e217f2716937115a3bdf6d316b172bbec75e5 (patch)
tree4d6bf9aa3d5866e0585b1e490995789035718f4c /debian
parent689002845733b73674d77ba9756822483a5464f1 (diff)
downloadvyos-1x-f67e217f2716937115a3bdf6d316b172bbec75e5.tar.gz
vyos-1x-f67e217f2716937115a3bdf6d316b172bbec75e5.zip
container: T6702: re-add missing UNIX API socket
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
Diffstat (limited to 'debian')
-rw-r--r--debian/vyos-1x.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index 141a9e8f9..dc8ada267 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -244,6 +244,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