ソースを参照

fix typos in nodeconfig

Breandan Dezendorf 2 年 前
コミット
981ab2e64c

+ 9 - 6
dezendorf/homelab/talos/nodeconfig/controlplane.yaml

@@ -54,11 +54,11 @@ machine:
         #         - fdc7::/16
     # Provides machine specific network configuration options.
     network:
-      interfaces:
-      - interface: eth0
-        dhcp: true
-        vip:
-          ip: 192.168.0.10
+        interfaces:
+        - interface: enx9afea89b95ba
+          dhcp: true
+          vip:
+              ip: 192.168.0.10
     # # `interfaces` is used to define the network interface configuration.
     #  interfaces:
     #     - interface: enp0s1 # The interface name.
@@ -153,7 +153,10 @@ machine:
     # nameservers:
     #     - 8.8.8.8
     #     - 1.1.1.1
-
+    # # Used to statically set the nameservers for the machine.
+        nameservers:
+          - 192.168.1.87
+          - 192.168.1.1
     # # Allows for extra entries to be added to the `/etc/hosts` file
     # extraHostEntries:
     #     - ip: 192.168.1.100 # The IP of the host.

+ 5 - 9
dezendorf/homelab/talos/nodeconfig/pi.yaml

@@ -53,7 +53,7 @@ machine:
         #         - '!10.0.0.3/32'
         #         - fdc7::/16
     # Provides machine specific network configuration options.
-    network: {}
+    network:
     # # `interfaces` is used to define the network interface configuration.
     # interfaces:
     #     - interface: enp0s1 # The interface name.
@@ -145,9 +145,9 @@ machine:
     #       #     ip: 172.16.199.55 # Specifies the IP address to be used.
 
     # # Used to statically set the nameservers for the machine.
-    # nameservers:
-    #     - 8.8.8.8
-    #     - 1.1.1.1
+      nameservers:
+          - 192.168.1.87
+          - 192.168.1.1
 
     # # Allows for extra entries to be added to the `/etc/hosts` file
     # extraHostEntries:
@@ -365,11 +365,7 @@ machine:
     # # Configures the node labels for the machine.
 
     # # node labels example.
-    nodeLabels:
-        ceph-osd-node: true
-        ceph-mon-node: false
-        ceph-mgr-node: false
-        ceph-rgw-node: false
+
 # Provides cluster specific configuration options.
 cluster:
     id: DnLy-yXXaIqQRaELsr5VZj-rnVj7jUxyyv69GkmgDIQ= # Globally unique identifier for this cluster (base64 encoded random 32 bytes).

+ 4 - 4
dezendorf/homelab/talos/nodeconfig/worker.yaml

@@ -53,7 +53,7 @@ machine:
         #         - '!10.0.0.3/32'
         #         - fdc7::/16
     # Provides machine specific network configuration options.
-    network: {}
+    network:
     # # `interfaces` is used to define the network interface configuration.
     # interfaces:
     #     - interface: enp0s1 # The interface name.
@@ -145,9 +145,9 @@ machine:
     #       #     ip: 172.16.199.55 # Specifies the IP address to be used.
 
     # # Used to statically set the nameservers for the machine.
-    # nameservers:
-    #     - 8.8.8.8
-    #     - 1.1.1.1
+      nameservers:
+          - 192.168.1.87
+          - 192.168.1.9
 
     # # Allows for extra entries to be added to the `/etc/hosts` file
     # extraHostEntries: