-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathvms_pc.yml
More file actions
42 lines (40 loc) · 1.92 KB
/
vms_pc.yml
File metadata and controls
42 lines (40 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
pc_ip: valid-pc-ip
pc_credential: pc_user # credential reference from "vaults" in global.yml file
pe_vms: &pe_vms
name: "vm-name"
num_vcpus: 1 # Number of vCPUs. Default value is 1.
num_cores_per_vcpu: 2 # Number of cores per vCPU. Default value is 2.
memory_mb: 1024 # Memory MB. Default value is 1024
include_cdrom: false # Attach CDROM. Default value is false
power_state: "ON" # Power State of the VM, eg "ON" , "OFF". Default value is OFF
image_list: [ image-1 ] # List of images to clone from.
hardware_clock_timezone: UTC # Optional. Default time zone 'UTC'
nic_list:
- name: valid-vlan-name-1 # Name of the Network interface
ip_endpoint_list: [ valid-ip ] # Optional. list of IP address, for assigning static IPs
- name: valid-vlan-name-2 # Name of the Network interface
boot_type: LEGACY # Optional LEGACY/SECURE_BOOT. Default is UEFI
clusters:
# configure the below clusters in the site
valid-cluster-01-ip:
name: cluster-01
vms:
# Use global network config
- <<: *pe_vms
valid-cluster-02-ip:
name: cluster-02
# can define locally as well
vms:
- name: "vm-name-2"
num_vcpus: 2 # Number of vCPUs. Default value is 1.
num_cores_per_vcpu: 4 # Number of cores per vCPU. Default value is 2.
memory_mb: 2048 # Memory MB. Default value is 1024
include_cdrom: false # Attach CDROM. Default value is false
power_state: "ON" # Power State of the VM, eg "ON" , "OFF". Default value is OFF
image_list: [ image-2 ] # List of images to clone from.
hardware_clock_timezone: UTC # Optional. Default time zone 'UTC'
nic_list:
- name: valid-vlan-name-1 # Name of the Network interface
ip_endpoint_list: [ valid-ip ] # Optional. list of IP address, for assigning static IPs
- name: valid-vlan-name-2 # Name of the Network interface
boot_type: LEGACY # Optional LEGACY/SECURE_BOOT. Default is UEFI