Files
zhongche-bushu/bushu.conf
2026-04-28 10:40:34 +08:00

72 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# bushu.conf - 用户自定义配置
# -------------------
# cloud 网桥配置
# -------------------
CLOUD_IP="192.168.49.62/24"
CLOUD_SECOND_IP="10.250.0.5/24"
CLOUD_GATEWAY="192.168.49.254"
CLOUD_DNS="192.168.46.44"
CLOUD_IFACE="eth11"
CLOUD_MAC="02:42:c0:a8:31:57"
# MONITOR_VLAN_ID=4090
# -------------------
# yewu 网桥配置
# -------------------
YEWU_IP="192.168.35.52/24"
YEWU_GATEWAY="192.168.49.254"
YEWU_DNS="192.168.46.44"
YEWU_IFACE="yewu-peer"
YEWU_MAC="02:aa:bb:cc:dd:01"
# monitor VLAN 配置
MONITOR_VLAN_ID=100
MONITOR_PHY_IFACE="eth11"
MONITOR_ALIAS="lsa"
# -------------------
# k3s 配置
# -------------------
MASTER_IP="10.250.0.1"
K3S_TOKEN="K10dd543834a13fa75e84dfa6ef4c8de13a947e70ec64e23f7bc109988c0c756ac2::server:515939179ba7c919527e6d2973f00832"
NODE_NAME="rk3588"
NODE_IP="10.250.0.5"
NODE_EXT_IP="10.250.0.5"
# -----------------------
# 时间同步配置
# -----------------------
# 是否启用 chronytrue / false
ENABLE_CHRONY=true
# 是否启用 gPTPtrue / false
ENABLE_GPTP=true
# gPTP 使用的物理网卡
GPTP_IFACE="eth11"
# chrony 时间服务器
CHRONY_SERVERS=(
"10.250.0.1 iburst prefer"
"10.250.0.2 iburst"
"10.250.0.3 iburst"
)
# -------------------
# 域名解析列表 (每行一个条目)
# 格式: "IP hostname1 hostname2 ..."
# -------------------
HOSTS_ENTRIES=(
"10.250.0.1 master1.example.com master1"
"10.250.0.2 master2.example.com master2"
"10.250.0.3 master3.example.com master3"
)