Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 1.84 KB

cloud-props.md

File metadata and controls

59 lines (43 loc) · 1.84 KB

Cloud properties

AZs

Currently the CPI does not support any cloud properties for AZs.

Example:

azs:
- name: z1

Network

Schema for cloud_properties section used by network subnet:

  • name [String, optional]: Name of the network. Example: vboxnet0.
  • type [String, optional]: Type of the network. See VBoxManage modifyvm networking settings for valid values. Example: hostonly. Default: hostonly.

Example of manual network matching any name:

networks:
- name: private
  type: manual
  subnets:
  - range:   192.168.50.0/24
    gateway: 192.168.50.1
    dns:     [192.168.50.1]

VM

Schema for cloud_properties section:

  • cpus [Integer, optional]: Number of CPUs. Example: 1. Default: 1.
  • memory [Integer, optional]: RAM in megabytes. Example: 1024. Default: 512.
  • ephemeral_disk [Integer, optional]: Ephemeral disk size in megabytes. Example: 10240. Default: 5000.
  • firmware [String, optional]: Firmware type from bios, efi, efi32, or efi64. Default: 'efi64' See'Vbox modifyvm general settins.
  • paravirtprovider [String, optional]: Paravirtual provider type. See VBoxManage modifyvm general settings for valid values. Default: default.
  • audio [String, optional]: Audio type. See VBoxManage modifyvm general settings for valid values. Default: none.

Example of a VM type:

vm_types:
- name: default
  cloud_properties:
    cpus: 2
    memory: 2_048
    ephemeral_disk: 4_096
    paravirtprovider: kvm
    audio: alsa

Disk

Currently the CPI does not support any cloud properties for disks.