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

feat(vm): add vmConfig to computePeer.nox #1009

Merged
merged 4 commits into from
Aug 29, 2024
Merged

feat(vm): add vmConfig to computePeer.nox #1009

merged 4 commits into from
Aug 29, 2024

Conversation

folex
Copy link
Member

@folex folex commented Aug 27, 2024

Minimal

Here's how minimal config will look like in provider.yml

computePeers:
  nox-2:
    computeUnits: 60
    nox:
      vm:
        network:
          publicIp: 1.1.1.1

Here's how minimal config will look like in Config.toml

[vm.network]
public_ip = "1.1.1.1"

Full

Here's how full config will look like in provider.yml

computePeers:
  nox-2:
    computeUnits: 60
    nox:
      vm:
        libvirtUri: qemu:///system
        allowGpu: false
        network:
          bridgeName: virbr0
          publicIp: 1.1.1.1
          vmIp: "192.168.122.112"

Here's how full config will look like in Config.toml

[vm]
libvirt_uri = "qemu:///system"
allow_gpu = false

  [vm_config.network]
  bridge_name = "virbr0"
  public_ip = "1.1.1.1"
  vm_ip = "192.168.122.112"

@folex
Copy link
Member Author

folex commented Aug 27, 2024

This PR depends on this comment to be resolved in Nox https://github.com/fluencelabs/nox/pull/2352/files#r1733017469

@folex folex merged commit 9aa8c2d into main Aug 29, 2024
11 of 12 checks passed
@folex folex deleted the provider_public_ip branch August 29, 2024 09:12
shamsartem pushed a commit that referenced this pull request Sep 9, 2024
* feat(vm): add vmConfig to computePeer.nox

* Apply automatic changes

* fix(config): vmConfig => vm

* Apply automatic changes

---------

Co-authored-by: folex <folex@users.noreply.github.com>
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.

2 participants