-
Notifications
You must be signed in to change notification settings - Fork 13
/
extra_vars.yml
32 lines (24 loc) · 1.42 KB
/
extra_vars.yml
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
# VM user name
vm_user: metal
# VM user plain text password (not hash)
vm_user_plain_text_password: metal
# Directory for files generated by the demo automation
working_dir: "{{ lookup('env', 'HOME') }}/metal3-demo-files"
# NOTE: this should be *your* (local user) SSH public key since *you*
# will be using it to login to the VMs. The SSH public keys listed
# here will be appended to the VM user's authorized_keys file.
public_key_file: "{{ lookup('env', 'HOME') }}/.ssh/id_ed25519.pub"
vm_authorized_ssh_keys:
- "{{ lookup('file', public_key_file) }}"
# OS image
os_image_url: https://download.opensuse.org/distribution/leap-micro/6.0/appliances/openSUSE-Leap-Micro.x86_64-Default.raw.xz
os_image_checksum: sha256:https://download.opensuse.org/distribution/leap-micro/6.0/appliances/openSUSE-Leap-Micro.x86_64-Default.raw.xz.sha256
# Alternatively a local image e.g SLEMicro can be specified e.g
# export OS_LOCAL_IMAGE=/home/foo/SLE-Micro.x86_64-5.5.0-Default-GM.raw
os_local_image: "{{ lookup('env', 'OS_LOCAL_IMAGE') }}"
os_image_name: "{{ os_local_image | basename if os_local_image else os_image_url | basename | splitext | first }}"
metal3_vm_libvirt_network_params: '--network bridge=m3-egress,model=virtio'
egress_network_cidr_v4: 192.168.125.0/24
egress_network_bridge_ip: "{{ egress_network_cidr_v4|ansible.utils.nthhost(1)|default('', true) }}"
management_cluster_public_ip: 192.168.125.99
management_cluster_ironic_ip: 192.168.125.10