Turn talos patches into templates and resolve them

This commit is contained in:
2025-11-08 05:47:24 +01:00
parent 0642fde397
commit 3290a76193
11 changed files with 64 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
---
machine:
network:
hostname: talos-vm
hostname: {{hostname}}

View File

@@ -1,4 +1,4 @@
---
machine:
install:
disk: /dev/vda
disk: {{installDisk}}

View File

@@ -2,10 +2,10 @@
machine:
network:
interfaces:
- interface: eth0
- interface: {{interface}}
dhcp: false
addresses:
- 192.168.1.2
- {{ip}}
routes:
- network: 0.0.0.0/0
gateway: 192.168.1.1
gateway: {{gateway}}

View File

@@ -2,6 +2,6 @@
machine:
network:
interfaces:
- interface: eth0
- interface: {{interface}}
vip:
ip: 192.168.1.100
ip: {{controlplaneIp}}