Skip to content

Conversation

@64kramsystem
Copy link

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.

Without the shell option, if there is any error (e.g. brctl not installed), QEMU will boot regardless. In such case, the error may go unnoticed, given the amount of information dumped on the screen by the boot sequence.
In Ubuntu [20.04] for example, the package is not installed by default.
@64kramsystem 64kramsystem force-pushed the improve_startup_script_resilience branch from 11bbf8d to 76f026b Compare January 21, 2021 21:03
@64kramsystem 64kramsystem changed the title Improve startup script UX Improve ifup script UX Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant