Updating Cloud Config
Document uses CLI v2.
The cloud config is a YAML file that defines IaaS specific configuration used by all deployments. It allows to separate IaaS specific configuration into its own file and keep deployment manifests IaaS agnostic.
Here is an example cloud config used with BOSH Lite:
--- azs: - name: z1 - name: z2 - name: z3 vm_types: - name: default disk_types: - name: default disk_size: 1024 networks: - name: default type: manual subnets: - azs: [z1, z2, z3] dns: [188.8.131.52] range: 10.244.0.0/24 gateway: 10.244.0.1 static: [10.244.0.34] reserved:  compilation: workers: 5 az: z1 reuse_compilation_vms: true vm_type: default network: default
Without going into much detail, above cloud config defines three availability zones, one
default VM type and one
default disk types and a
default network. All of these definitions will be referenced by the deployment manifest.
See cloud config schema for detailed breakdown.
To configure Director with above cloud config use
bosh update-cloud-config command:
bosh -e vbox update-cloud-config cloud-config.yml