mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
* Match machines by MAC address in examples * Re-use the MAC address to assign static networkd configs where needed. * UUID is useful to uniquely identify a machine (unlike MAC) but many users had difficulty finding the network device name to use in static networkd configs. Selecting by MAC reduces the potential for user error here.
18 lines
480 B
JSON
18 lines
480 B
JSON
{
|
|
"id": "node2",
|
|
"name": "etcd Node 2",
|
|
"profile": "etcd",
|
|
"selector": {
|
|
"mac": "52:54:00:b2:2f:86"
|
|
},
|
|
"metadata": {
|
|
"etcd_initial_cluster": "node1=http://172.17.0.21:2380,node2=http://172.17.0.22:2380,node3=http://172.17.0.23:2380",
|
|
"etcd_name": "node2",
|
|
"fleet_metadata": "role=etcd,name=node2",
|
|
"ipv4_address": "172.17.0.22",
|
|
"networkd_address": "172.17.0.22/16",
|
|
"networkd_dns": "172.17.0.3",
|
|
"networkd_gateway": "172.17.0.1"
|
|
}
|
|
}
|