diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 870569f..9bc3206 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -119,6 +119,9 @@ jobs: vm_name: pve-test-pve8 steps: + - name: Mask test password + run: echo "::add-mask::${PVE_PASSWORD}" + - uses: actions/checkout@v5 - name: Download module artifact diff --git a/tests/infrastructure/scripts/prepare-test-vm.sh b/tests/infrastructure/scripts/prepare-test-vm.sh index 4f399d0..0dcc9f5 100755 --- a/tests/infrastructure/scripts/prepare-test-vm.sh +++ b/tests/infrastructure/scripts/prepare-test-vm.sh @@ -29,11 +29,17 @@ echo "Downloading and customizing Debian cloud image on nested PVE..." ${SSH_CMD} bash </dev/null; then + echo "Installing libguestfs-tools..." + apt-get update -qq && apt-get install -y -qq libguestfs-tools +fi + # Download the cloud image echo "Downloading Debian cloud image..." curl -sL -o /tmp/debian-cloud.qcow2 "${CLOUD_IMAGE_URL}" -# Install qemu-guest-agent into the image using PVE's built-in libguestfs +# Install qemu-guest-agent into the image echo "Installing qemu-guest-agent into image..." virt-customize -a /tmp/debian-cloud.qcow2 \ --install qemu-guest-agent \