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

start_qemu.sh: also allow graphics emulation #14

Open
jurobystricky opened this issue Jun 25, 2019 · 1 comment
Open

start_qemu.sh: also allow graphics emulation #14

jurobystricky opened this issue Jun 25, 2019 · 1 comment

Comments

@jurobystricky
Copy link

Currently the script explicitly disables support for graphics, via:

...
    -vga none -nographic \
...

However, there does not seem to be any particularly good reason not to allow graphics via
something like

    -vga std \

The user/developer should be able to chose the type of emulation via a command line option (something like --enable-graphics). Or there could be two different scripts.

I tested this with an image I mixed:

 "Bundles": [
  "os-core",
  "os-core-update",
  "desktop-autostart",
  "kernel-kvm",
  "sysadmin-basic"
 ],
...

and manged to boot the resulted image (with the modified script) into a desktop environment.

@phmccarty
Copy link
Contributor

@jurobystricky I would prefer keeping the single script and adding the ability to choose whether to boot the VM with graphics or not.

The script doesn't have command line options at the moment; it just has the one positional argument, and will read VMN from the environment. IIRC, that acronym stands for "virtual machine number". I am open to adding command line options, but of course, it would be nice to preserve backwards compatibility for current users. Given that the script is pretty basic at the moment, backwards compatibility would be straightforward to support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants