Skip to content

Commit

Permalink
chore(builder): show boot message from CI (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihexon authored Dec 23, 2024
1 parent 48191af commit 1fdefae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions target_builder/macos_amd64
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] -p10025 "update-grub && sync && halt" && {
echo Update-grub successful
Expand Down
1 change: 1 addition & 0 deletions target_builder/macos_arm64
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] -p10025 "update-grub && sync && halt" && {
echo Update-grub successful
Expand Down

0 comments on commit 1fdefae

Please sign in to comment.