tlu/salt/states/pxe/harvester/files/tlu-cluster-create.yaml.jinja

22 lines
641 B
Plaintext
Raw Normal View History

2021-10-17 10:35:16 +00:00
server_url: https://{{pillar['harvester']['dns_host'] }}.{{ pillar['network']['domain']}}:8443
token: {{ pillar['harvester']['token'] }}
os:
ssh_authorized_keys: {{ pillar['harvester']['os']['ssh_authorized_keys'] }}
nostname: node1
dns_nameservers:
- {{ pillar['network']['ip'] }}
password: {{ pillar['harvester']['os']['password'] }}
intall:
mode: create
networks:
harvester-mgmt:
interfaces:
- name: ensp2s0f0
default_route: true
method: static
ip: {{ pillar['network']['ip][0:-1] }}21
subnet_mask: 255.255.255.0
gateway: {{ pillar['network']['ip'] }}
device: /dev/nvme0n1