Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

start_qemu.sh: also allow graphics emulation #14

Open

Description

@jurobystricky

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.

Activity

  1. phmccarty commented on Jun 28, 2019

    @phmccarty
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions