Show progress while the smoketest waits on a VM

The waits for SSH, GNOME and a reboot say what they're waiting for and
repeat it once a minute, and the base build says when it's waiting for
cloud-init, installing GNOME and shutting down.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 07:28:10 -07:00
co-authored by Claude Opus 5.5
parent e4c68a5567
commit e003b4c352
3 changed files with 42 additions and 0 deletions
+2
View File
@@ -261,7 +261,9 @@ build_base_image() {
vm_start "$build" "$build/disk.qcow2" -cdrom "$build/seed.iso"
trap vm_kill EXIT
wait_for_ssh
echo "Waiting for cloud-init to set up the VM's user..."
vm_ssh 'cloud-init status --wait' < /dev/null > /dev/null || true
echo "Installing GNOME (vm/provision.sh)..."
vm_put "$(sibling_dir)/vm/provision.sh" /tmp/provision.sh || die "Couldn't copy provision.sh to the VM."
vm_exec 'sudo bash /tmp/provision.sh' || die "Provisioning failed; see $build/build.log"
vm_stop