Skip to content

Commit 762ae77

Browse files
committed
board: update factory-configs with dhcpv4 vendor-class
Devices should tell the server what they are in case an administrator wants to group or hand out dedicated leases and information to some devices on the lan. Signed-off-by: Joachim Wiberg <[email protected]>
1 parent a53b7dd commit 762ae77

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

board/aarch64/bananapi-bpi-r3/rootfs/usr/share/product/bananapi,bpi-r3/etc/factory-config.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@
109109
{"id": "hostname"},
110110
{"id": "dns-server"},
111111
{"id": "router"},
112-
{"id": "netmask"}
112+
{"id": "netmask"},
113+
{"id": "vendor-class", "value": "Banana Pi BPI-R3"}
113114
]
114115
}
115116
}

board/aarch64/friendlyarm-nanopi-r2s/rootfs/usr/share/product/friendlyarm,nanopi-r2s/etc/factory-config.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@
6868
{"id": "hostname"},
6969
{"id": "dns-server"},
7070
{"id": "router"},
71-
{"id": "netmask"}
71+
{"id": "netmask"},
72+
{"id": "vendor-class", "value": "NanoPi R2S"}
7273
]
7374
}
7475
}

board/aarch64/raspberrypi-rpi64/rootfs/usr/share/product/raspberrypi,4-model-b/etc/factory-config.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
{"id": "domain"},
4848
{"id": "hostname"},
4949
{"id": "dns-server"},
50-
{"id": "ntp-server"}
50+
{"id": "ntp-server"},
51+
{"id": "vendor-class", "value": "Raspberry Pi 4 Model B"}
5152
]
5253
}
5354
}

0 commit comments

Comments
 (0)