fix(environments): fix podman auto onboarding script [BE-12327] (#1395)

This commit is contained in:
Chaim Lev-Ari
2025-11-18 14:30:23 +02:00
committed by GitHub
parent e73d07281c
commit 566f6b067c
2 changed files with 22 additions and 46 deletions
@@ -112,8 +112,6 @@ export function buildLinuxPodmanCommand(
return `${
edgeIdGenerator ? `PORTAINER_EDGE_ID=$(${edgeIdGenerator}) \n\n` : ''
}\
sudo systemctl enable --now podman.socket
sudo podman volume create portainer_agent_data
sudo podman run -d \\
@@ -125,7 +123,7 @@ sudo podman run -d \\
--privileged \\
${env} \\
--name portainer_edge_agent \\
portainer/agent:${agentVersion}
docker.io/portainer/agent:${agentVersion}
`;
}