next-hat/nanocl

Feature: Import virtual machine image from Statefile

已关闭

#414 创建于 2023年6月23日

 (0 条评论) (0 个反应) (0 位负责人)Rust (51 个派生)auto 404
clienhancementgood first issuehacktoberfeststubs

仓库指标

星标
 (983 个星标)
PR 合并指标
 (平均合并 3天) (30 天内合并 7 个 PR)

描述

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.

贡献者指南