mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
network: add auto-detection of optimal MTU for WireGuard interface, --wg-mtu flag, set max_mtu for Corrosion to 1232
This commit is contained in:
@@ -326,6 +326,7 @@ func (cc *clusterController) ensureDockerNetwork(ctx context.Context) error {
|
||||
if err := cc.dockerCtrl.EnsureUncloudNetwork(
|
||||
ctx,
|
||||
cc.state.Network.Subnet,
|
||||
cc.state.Network.EffectiveMTU(),
|
||||
cc.dnsServer.ListenAddr(),
|
||||
); err != nil {
|
||||
return fmt.Errorf("ensure Docker network: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user