Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve ifup script UX #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

None yet

1 participant