Refactor random vm name #3;Fix ISO paths
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-04-18 22:33:11 +02:00
parent a8bdc59d7a
commit 0ce6f8f876
2 changed files with 4 additions and 4 deletions

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]', ''))[:5] | upper }}"
name: "{{ kubernetes.clustername | upper }}_{{ (item.ip | checksum | regex_replace('[0-9]', ''))[-5:] | upper }}"
guest_id: "{{ item.guest_id }}"
hardware:
memory_mb: 8192

View File

@ -3,11 +3,11 @@ kubernetes:
clustername: k3s-dev
servers:
- ip: 192.168.11.121/24
iso_path: ubuntu-20.04.1-live-server-amd64.iso
iso_path: ISO-files/ubuntu-20.04.1-live-server-amd64.iso
guest_id: ubuntu64Guest
- ip: 192.168.11.122/24
iso_path: ubuntu-20.04.1-live-server-amd64.iso
iso_path: ISO-files/ubuntu-20.04.1-live-server-amd64.iso
guest_id: ubuntu64Guest
- ip: 192.168.11.123/24
iso_path: ubuntu-20.04.1-live-server-amd64.iso
iso_path: ISO-files/ubuntu-20.04.1-live-server-amd64.iso
guest_id: ubuntu64Guest