Access node parameters through node instead of directly
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
machine:
|
||||
network:
|
||||
hostname: {{hostname}}
|
||||
hostname: {{node.hostname}}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
machine:
|
||||
install:
|
||||
disk: {{installDisk}}
|
||||
disk: {{node.installDisk}}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
machine:
|
||||
network:
|
||||
interfaces:
|
||||
- interface: {{interface}}
|
||||
- interface: {{node.interface}}
|
||||
dhcp: false
|
||||
addresses:
|
||||
- {{ip}}
|
||||
- {{node.ip}}
|
||||
routes:
|
||||
- network: 0.0.0.0/0
|
||||
gateway: {{gateway}}
|
||||
gateway: {{node.gateway}}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
machine:
|
||||
network:
|
||||
interfaces:
|
||||
- interface: {{interface}}
|
||||
- interface: {{node.interface}}
|
||||
vip:
|
||||
ip: {{cluster.controlPlaneIp}}
|
||||
ip: {{node.cluster.controlPlaneIp}}
|
||||
|
||||
Reference in New Issue
Block a user