michaeljclark / busybear-linux

busybear-linux is a tiny RISC-V Linux root filesystem image that targets the VirtIO board in riscv-qemu.
93 stars 33 forks source link

Improve ifup script UX #21

Open 64kramsystem opened 3 years ago

64kramsystem commented 3 years ago

Currently, the ifup script doesn't fail even if the commands run do. The problem with this is that problems can go unnoticed, since the VM boot immediatley prints a wall of text.

This PR makes the VM startup fail if anything in the script fail, and it also gives (marginally) more helpful information in case the bridge tool is not found.