Remove rootful buildah for cmd execution

This commit is contained in:
2025-11-07 20:28:11 -05:00
parent 61d9e2f98c
commit e913d57e17

View File

@@ -2027,7 +2027,7 @@ create_mc_apt_container() {
apt-get update &>/dev/null' && apt-get update &>/dev/null' &&
# If user passes command strings run them in the container # If user passes command strings run them in the container
for cmd in "${cmds[@]}"; do for cmd in "${cmds[@]}"; do
sudo buildah run "$CNT" -- sh -c "$cmd" || { err "$cmd failed"; return 1; } buildah run "$CNT" -- sh -c "$cmd" || { err "$cmd failed"; return 1; }
done done
} }
add_temp_repo() { add_temp_repo() {