8.13.2. 配置随机运行程序
随机运行程序的行为与循环运行程序相似。
要配置随机运行程序,以
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
root 用户身份使用编辑器,将以下内容添加到团队 JSON 格式配置文件中:
{
"device": "team0",
"runner": {"name": "random"},
"ports": {"em1": {}, "em2": {}}
}
{
"device": "team0",
"runner": {"name": "random"},
"ports": {"em1": {}, "em2": {}}
}
有关详细信息,请参阅
teamd.conf(5) 手册页。