diff --git a/target_builder/macos_amd64 b/target_builder/macos_amd64 index 8871e86..5811e4f 100644 --- a/target_builder/macos_amd64 +++ b/target_builder/macos_amd64 @@ -244,6 +244,7 @@ bootstrap_alpine umount_rootfs clean_mapping bootimage >/tmp/vm_boot_log 2>&1 & +tail -f /tmp/vm_boot_log & while true; do ssh -o ConnectTimeout=1 -o StrictHostKeyChecking=no -i /tmp/ovm_ssh/ovm_id root@127.0.0.1 -p10025 "update-grub && sync && halt" && { echo Update-grub successful diff --git a/target_builder/macos_arm64 b/target_builder/macos_arm64 index 0635dc7..37dca5c 100644 --- a/target_builder/macos_arm64 +++ b/target_builder/macos_arm64 @@ -220,6 +220,7 @@ clean_mapping # Final stage: boot raw disk and do update-grub bootimage >/tmp/vm_boot_log 2>&1 & +tail -f /tmp/vm_boot_log & while true; do ssh -o ConnectTimeout=1 -o StrictHostKeyChecking=no -i /tmp/ovm_ssh/ovm_id root@127.0.0.1 -p10025 "update-grub && sync && halt" && { echo Update-grub successful