Turn talos patches into templates and resolve them
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
---
|
||||
machine:
|
||||
network:
|
||||
hostname: talos-vm
|
||||
hostname: {{hostname}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
---
|
||||
machine:
|
||||
install:
|
||||
disk: /dev/vda
|
||||
disk: {{installDisk}}
|
||||
|
||||
@@ -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}}
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
machine:
|
||||
network:
|
||||
interfaces:
|
||||
- interface: eth0
|
||||
- interface: {{interface}}
|
||||
vip:
|
||||
ip: 192.168.1.100
|
||||
ip: {{controlplaneIp}}
|
||||
|
||||
Reference in New Issue
Block a user