mirror of
https://github.com/siderolabs/sidero.git
synced 2026-05-05 20:36:29 +02:00
docs: switch code block to text for DHCP prereq
This PR fixes a turbo-nit where the configs for the DHCP settings weren't getting processed as code blocks Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
This commit is contained in:
parent
15f67308f0
commit
b7cc8b2e40
@ -42,7 +42,7 @@ options:
|
||||
|
||||
In the ISC DHCP server, these options look like:
|
||||
|
||||
```config
|
||||
```text
|
||||
next-server 172.16.199.50;
|
||||
filename "ipxe.efi";
|
||||
```
|
||||
@ -64,7 +64,7 @@ In our example below, `172.16.199.50` is the IP address of our Sidero service.
|
||||
|
||||
`ipxe-metal.conf`:
|
||||
|
||||
```config
|
||||
```text
|
||||
allow bootp;
|
||||
allow booting;
|
||||
|
||||
@ -100,7 +100,7 @@ class "httpclients" {
|
||||
Once this file is created, we can include it from our main `dhcpd.conf` inside a
|
||||
`subnet` section.
|
||||
|
||||
```config
|
||||
```text
|
||||
shared-network sidero {
|
||||
subnet 172.16.199.0 netmask 255.255.255.0 {
|
||||
option domain-name-servers 8.8.8.8, 1.1.1.1;
|
||||
@ -118,7 +118,7 @@ Essentially, the quotes around the path need to be entered as HTML entities:
|
||||
|
||||
Ubiquiti EdgeRouter configuration statement:
|
||||
|
||||
```config
|
||||
```text
|
||||
set service dhcp-server shared-network-name sidero \
|
||||
subnet 172.16.199.1 \
|
||||
subnet-parameters "include "e;/config/ipxe-metal.conf";"
|
||||
|
||||
@ -42,7 +42,7 @@ options:
|
||||
|
||||
In the ISC DHCP server, these options look like:
|
||||
|
||||
```config
|
||||
```text
|
||||
next-server 172.16.199.50;
|
||||
filename "ipxe.efi";
|
||||
```
|
||||
@ -64,7 +64,7 @@ In our example below, `172.16.199.50` is the IP address of our Sidero service.
|
||||
|
||||
`ipxe-metal.conf`:
|
||||
|
||||
```config
|
||||
```text
|
||||
allow bootp;
|
||||
allow booting;
|
||||
|
||||
@ -100,7 +100,7 @@ class "httpclients" {
|
||||
Once this file is created, we can include it from our main `dhcpd.conf` inside a
|
||||
`subnet` section.
|
||||
|
||||
```config
|
||||
```text
|
||||
shared-network sidero {
|
||||
subnet 172.16.199.0 netmask 255.255.255.0 {
|
||||
option domain-name-servers 8.8.8.8, 1.1.1.1;
|
||||
@ -118,7 +118,7 @@ Essentially, the quotes around the path need to be entered as HTML entities:
|
||||
|
||||
Ubiquiti EdgeRouter configuration statement:
|
||||
|
||||
```config
|
||||
```text
|
||||
set service dhcp-server shared-network-name sidero \
|
||||
subnet 172.16.199.1 \
|
||||
subnet-parameters "include "e;/config/ipxe-metal.conf";"
|
||||
|
||||
@ -42,7 +42,7 @@ options:
|
||||
|
||||
In the ISC DHCP server, these options look like:
|
||||
|
||||
```config
|
||||
```text
|
||||
next-server 172.16.199.50;
|
||||
filename "ipxe.efi";
|
||||
```
|
||||
@ -64,7 +64,7 @@ In our example below, `172.16.199.50` is the IP address of our Sidero service.
|
||||
|
||||
`ipxe-metal.conf`:
|
||||
|
||||
```config
|
||||
```text
|
||||
allow bootp;
|
||||
allow booting;
|
||||
|
||||
@ -100,7 +100,7 @@ class "httpclients" {
|
||||
Once this file is created, we can include it from our main `dhcpd.conf` inside a
|
||||
`subnet` section.
|
||||
|
||||
```config
|
||||
```text
|
||||
shared-network sidero {
|
||||
subnet 172.16.199.0 netmask 255.255.255.0 {
|
||||
option domain-name-servers 8.8.8.8, 1.1.1.1;
|
||||
@ -118,7 +118,7 @@ Essentially, the quotes around the path need to be entered as HTML entities:
|
||||
|
||||
Ubiquiti EdgeRouter configuration statement:
|
||||
|
||||
```config
|
||||
```text
|
||||
set service dhcp-server shared-network-name sidero \
|
||||
subnet 172.16.199.1 \
|
||||
subnet-parameters "include "/etc/dhcp/ipxe-metal.conf";"
|
||||
|
||||
@ -46,7 +46,7 @@ options:
|
||||
|
||||
In the ISC DHCP server, these options look like:
|
||||
|
||||
```config
|
||||
```text
|
||||
next-server 172.16.199.50;
|
||||
filename "ipxe.efi";
|
||||
```
|
||||
@ -68,7 +68,7 @@ In our example below, `172.16.199.50` is the IP address of our Sidero service.
|
||||
|
||||
`ipxe-metal.conf`:
|
||||
|
||||
```config
|
||||
```text
|
||||
allow bootp;
|
||||
allow booting;
|
||||
|
||||
@ -104,7 +104,7 @@ class "httpclients" {
|
||||
Once this file is created, we can include it from our main `dhcpd.conf` inside a
|
||||
`subnet` section.
|
||||
|
||||
```config
|
||||
```text
|
||||
shared-network sidero {
|
||||
subnet 172.16.199.0 netmask 255.255.255.0 {
|
||||
option domain-name-servers 8.8.8.8, 1.1.1.1;
|
||||
@ -122,7 +122,7 @@ Essentially, the quotes around the path need to be entered as HTML entities:
|
||||
|
||||
Ubiquiti EdgeRouter configuration statement:
|
||||
|
||||
```config
|
||||
```text
|
||||
set service dhcp-server shared-network-name sidero \
|
||||
subnet 172.16.199.1 \
|
||||
subnet-parameters "include "/etc/dhcp/ipxe-metal.conf";"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user