fix(test-guest): refresh runtime setup state

Signed-off-by: Drew Newberry <anewberry@nvidia.com>
This commit is contained in:
Drew Newberry
2026-07-28 14:54:09 -07:00
parent 7f365efb81
commit 7bd0790d6d
2 changed files with 9 additions and 2 deletions
+4 -2
View File
@@ -22,9 +22,11 @@
update_cache: true
when: ansible_facts.distribution == "Ubuntu"
- name: Install Podman
- name: Install Podman dependencies
ansible.builtin.package:
name: podman
name:
- podman
- socat
state: present
- name: Enable the rootless Podman API socket
+5
View File
@@ -425,6 +425,11 @@ else
echo "==> Reusing cached configuration: ${configurations[*]:-base image}"
fi
# Configuration may change the test user's groups. Close the SSH control
# connection established before provisioning so subsequent commands start with
# the guest's current credentials.
ssh "${ssh_args[@]}" -O exit openshell@127.0.0.1 >/dev/null 2>&1 || true
for package in "${packages[@]}"; do
package_name=$(basename "${package}")
if [[ ! ${package_name} =~ ^[A-Za-z0-9._+~-]+$ ]]; then