v0.3.0
Disk (new commands)
Import
Create new disk resource from local source .vhdx file, which will be imported as a new disk.
Local .vhdx disk file needs to fulfil following requirements:
- VhdFormat - VHDX
- VhdType - Dynamic
Required parameters:
- name - just a name for a new disk
- type - disk type for the new disk
- size - disk size equal or greater than size given in local .vhdx file
h1 disk create --name ubuntu --type volume --size 100 --source ubuntu.vhdx
Download / Export
Download existing disk in .vhdx format. To ensure disk data consistency remember to download disk is not mounted in OS, disk is Unattached or vm is Off.
h1 disk download ubuntu --destination out.vhdx
ISO (new command)
Import
Create new iso resource from local source .iso file
h1 iso create --name test-4 --source alpine.iso
Image (new command)
List disks
List all disks which are part of an image
h1 image disk ubuntu