Skip to content

Commit

Permalink
Align documentation to net.ifnames=0 kernel arg (#410)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Mazzotti <[email protected]>
anmazzotti authored Oct 8, 2024
1 parent b4a3490 commit 5834b44
Showing 7 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions docs/networking.md
Original file line number Diff line number Diff line change
@@ -118,12 +118,12 @@ config:
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: enp1s0
next-hop-interface: eth0
next-hop-address: 192.168.122.1
metric: 150
table-id: 254
interfaces:
- name: enp1s0
- name: eth0
type: ethernet
description: Main-NIC
state: up
10 changes: 5 additions & 5 deletions docs/troubleshooting-network.md
Original file line number Diff line number Diff line change
@@ -61,15 +61,15 @@ spec:
enabled: true
ipv6:
enabled: false
name: enp1s0
name: eth0
state: up
type: ethernet
routes:
config:
- destination: 0.0.0.0/0
metric: 150
next-hop-address: 192.168.122.1
next-hop-interface: enp1s0
next-hop-interface: eth0
table-id: 254
ipAddresses:
inventory-ip: 192.168.122.150
@@ -117,15 +117,15 @@ config:
enabled: true
ipv6:
enabled: false
name: enp1s0
name: eth0
state: up
type: ethernet
routes:
config:
- destination: 0.0.0.0/0
metric: 150
next-hop-address: 192.168.122.1
next-hop-interface: enp1s0
next-hop-interface: eth0
table-id: 254
```

@@ -151,7 +151,7 @@ stages:
uuid=d26b4ae4-d525-3cbf-a557-33feb60343c0
type=ethernet
autoconnect-priority=-999
interface-name=enp1s0
interface-name=eth0
timestamp=1722340245
[ethernet]
8 changes: 4 additions & 4 deletions examples/network/machineregistration-nmc.yaml
Original file line number Diff line number Diff line change
@@ -48,17 +48,17 @@ spec:
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: enp1s0
next-hop-interface: eth0
next-hop-address: 192.168.122.1
metric: 150
table-id: 254
- destination: 172.16.0.1/24
next-hop-interface: enp8s0
next-hop-interface: eth1
next-hop-address: 172.16.0.1
metric: 150
table-id: 254
interfaces:
- name: enp1s0
- name: eth0
type: ethernet
description: Main-NIC
state: up
@@ -70,7 +70,7 @@ spec:
prefix-length: 24
ipv6:
enabled: false
- name: enp8s0
- name: eth1
type: ethernet
description: Secondary-NIC
state: up
8 changes: 4 additions & 4 deletions examples/network/machineregistration-nmconnections.yaml
Original file line number Diff line number Diff line change
@@ -40,23 +40,23 @@ spec:
kind: InClusterIPPool
name: elemental-secondary-pool
config:
enp1s0: |
eth0: |
[connection]
id=Wired connection 1
type=ethernet
interface-name=enp1s0
interface-name=eth0
[ipv4]
address1={inventory-ip}/24,192.168.1.1
dns=192.168.122.1;
method=manual
route1=0.0.0.0/0,192.168.122.1
[ipv6]
method=disabled
enp8s0: |
eth1: |
[connection]
id=Wired connection 2
type=ethernet
interface-name=enp8s0
interface-name=eth1
[ipv4]
address1={secondary-ip}/24,172.16.0.1
method=manual
8 changes: 4 additions & 4 deletions examples/network/machineregistration-nmstate.yaml
Original file line number Diff line number Diff line change
@@ -48,17 +48,17 @@ spec:
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: enp1s0
next-hop-interface: eth0
next-hop-address: 192.168.122.1
metric: 150
table-id: 254
- destination: 172.16.0.1/24
next-hop-interface: enp8s0
next-hop-interface: eth1
next-hop-address: 172.16.0.1
metric: 150
table-id: 254
interfaces:
- name: enp1s0
- name: eth0
type: ethernet
description: Main-NIC
state: up
@@ -70,7 +70,7 @@ spec:
prefix-length: 24
ipv6:
enabled: false
- name: enp8s0
- name: eth1
type: ethernet
description: Secondary-NIC
state: up
4 changes: 2 additions & 2 deletions examples/network/machineregistration.yaml
Original file line number Diff line number Diff line change
@@ -33,12 +33,12 @@ spec:
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: enp1s0
next-hop-interface: eth0
next-hop-address: 192.168.122.1
metric: 150
table-id: 254
interfaces:
- name: enp1s0
- name: eth0
type: ethernet
description: Main-NIC
state: up
8 changes: 4 additions & 4 deletions examples/network/yip-nmc-static-config.yaml
Original file line number Diff line number Diff line change
@@ -24,12 +24,12 @@ stages:
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: enp1s0
next-hop-interface: eth0
next-hop-address: 192.168.122.1
metric: 150
table-id: 254
interfaces:
- name: enp1s0
- name: eth0
type: ethernet
state: up
mac-address: 52:54:00:45:14:c5
@@ -55,12 +55,12 @@ stages:
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: enp1s0
next-hop-interface: eth0
next-hop-address: 192.168.122.1
metric: 150
table-id: 254
interfaces:
- name: enp1s0
- name: eth0
type: ethernet
state: up
mac-address: 52:54:00:3a:ae:3b

0 comments on commit 5834b44

Please sign in to comment.