
Create ironic-python-agent-podman. It installs podman and create conf files for podman, ipa, and cleaning steps Add explanation how to configure on README.rst Partial-Bug: #2100556 Change-Id: Id78f0488b4aee34a2682f51d5e647ad81f9e505f
11 lines
291 B
Bash
Executable File
11 lines
291 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Ensure the directory exists
|
|
sudo mkdir -p $(dirname $PODMAN_CONF_FILE)
|
|
|
|
# Create Podman configuration file inside the ramdisk with sudo tee
|
|
echo "[engine]
|
|
no_pivot_root = true" | sudo tee $PODMAN_CONF_FILE > /dev/null
|
|
|
|
echo "Podman configuration written to $PODMAN_CONF_FILE"
|