oxidecomputer / oxidecomputer/helios-engvm

Specify different machine type in create.sh

Open
#22 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
64
Forks
9
PR merge metrics
No merged PRs in 30d

Description

When creating the VM XML configuration for virsh, the machine type pc-i440fx-focal is used, which is unavailable on Arch Linux and the create.sh script throws an error.

However, based on the output of virsh capabilities on Arch, it would seem that there is a generic pc option which should link to the latest pc-i440fx machine type. Would it be possible to use pc instead?

Example output from virsh for x86_64 on Arch:

      <machine maxCpus='255'>pc-i440fx-8.2</machine>
      <machine canonical='pc-i440fx-8.2' maxCpus='255'>pc</machine>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with create.sh and inspect where it writes the VM XML configuration for virsh. Compare the configured machine type with the machine entries shown by virsh capabilities on Arch Linux. Done means the script creates the VM without the unavailable pc-i440fx-focal error and uses a machine type supported by the target environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.