Refactor random vm name #2
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2022-04-18 22:09:43 +02:00
parent d2dcc237d9
commit e74894f0d3

View File

@ -13,7 +13,7 @@
datacenter: "{{ hv.datacenter }}"
folder: "{{ hv.folder }}"
cluster: "{{ hv.cluster }}"
name: "{{ kubernetes.clustername | upper }}_{{ (item.ip | checksum | regex_replace('[0-9]', ''))[0..5] | upper }}"
name: "{{ kubernetes.clustername | upper }}_{{ (item.ip | checksum | regex_replace('[0-9]', ''))[:5] | upper }}"
guest_id: "{{ item.guest_id }}"
hardware:
memory_mb: 8192