docker: container network for switch

This commit is contained in:
zhihui.ding
2023-04-04 23:59:03 +08:00
parent cda472b82c
commit fbfcf9ab39
11 changed files with 59 additions and 33 deletions

View File

@@ -162,11 +162,6 @@ func (d *L2TP) Start() {
if d.cfg.Subnet == nil {
return
}
load := exec.Command("/sbin/modprobe", "-q", "l2tp_ppp")
if err := load.Run(); err != nil {
d.out.Error("L2TP.Start %s: %s", d.uuid, err)
return
}
d.SaveConf()
d.SaveOptions()
libol.Go(func() {