
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
18 lines
455 B
Bash
Executable File
18 lines
455 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Ensure the directory exists
|
|
sudo mkdir -p $(dirname $IPA_CONFFILE)
|
|
|
|
# Write the configuration inside the ramdisk
|
|
cat <<EOF | sudo tee $IPA_CONFFILE
|
|
[container]
|
|
allow_arbitrary_containers="$ALLOW_ARBITRARY_CONTAINERS"
|
|
allowed_containers="$ALLOWED_CONTAINERS"
|
|
container_steps_file="$CONTAINER_STEPS_FILE"
|
|
runner="$RUNNER"
|
|
pull_options="$PULL_OPTIONS"
|
|
run_options="$RUN_OPTIONS"
|
|
EOF
|
|
|
|
echo "Ironic Python Agent config written to $IPA_CONFFILE"
|