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

Feature: Import virtual machine image from Statefile #414

Open
leon3s opened this issue Jun 23, 2023 · 0 comments
Open

Feature: Import virtual machine image from Statefile #414

leon3s opened this issue Jun 23, 2023 · 0 comments
Labels
cli Include change in `bin/nanocl` enhancement New feature or request good first issue Good for newcomers hacktoberfest For Hacktober 2023 participants stubs Include change in `crates/nanocl_stubs`

Comments

@leon3s
Copy link
Member

leon3s commented Jun 23, 2023

Is your feature request related to a problem? Please describe.
It will be a greater developers experience if we can import virtual machine images from the Statefile

Describe the solution you'd like
A configuration like this should be working
eg:

Kind: VirtualMachine
ApiVersion: v0.8

Namespace: global

VirtualMachineImages:
  - Name: ubuntu-22
    From: https://cloud-images.ubuntu.com/minimal/releases/jammy/release/ubuntu-22.04-minimal-cloudimg-amd64.img

VirtualMachines:
  - Name: vm-test
    Disk:
      Image: ubuntu-22
    HostConfig:
      Cpu: 2
      Memory: 2048
      Kvm: true

Additional context
I would like to avoid our daemon to download the file.
Instead we will download it on the local machine of the users where the command is run under /tmp and upload it on the daemon afterwards.

@leon3s leon3s added enhancement New feature or request good first issue Good for newcomers cli Include change in `bin/nanocl` stubs Include change in `crates/nanocl_stubs` labels Jun 23, 2023
@mamaicode mamaicode added the hacktoberfest For Hacktober 2023 participants label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Include change in `bin/nanocl` enhancement New feature or request good first issue Good for newcomers hacktoberfest For Hacktober 2023 participants stubs Include change in `crates/nanocl_stubs`
Projects
None yet
Development

No branches or pull requests

2 participants