fix(edge-scripts): add podman auto onboarding script [BE-12327] (#1333)
This commit is contained in:
@@ -88,7 +88,7 @@ docker run -d \\
|
||||
`;
|
||||
}
|
||||
|
||||
function buildLinuxPodmanCommand(
|
||||
export function buildLinuxPodmanCommand(
|
||||
agentVersion: string,
|
||||
edgeKey: string,
|
||||
properties: ScriptFormValues,
|
||||
@@ -113,7 +113,9 @@ function buildLinuxPodmanCommand(
|
||||
edgeIdGenerator ? `PORTAINER_EDGE_ID=$(${edgeIdGenerator}) \n\n` : ''
|
||||
}\
|
||||
sudo systemctl enable --now podman.socket
|
||||
sudo podman volume create portainer
|
||||
|
||||
sudo podman volume create portainer_agent_data
|
||||
|
||||
sudo podman run -d \\
|
||||
-v /run/podman/podman.sock:/var/run/docker.sock \\
|
||||
-v /var/lib/containers/storage/volumes:/var/lib/docker/volumes \\
|
||||
|
||||
Reference in New Issue
Block a user