diff --git a/internal/machine/network.go b/internal/machine/network.go index 1517e20b..f41c1c16 100644 --- a/internal/machine/network.go +++ b/internal/machine/network.go @@ -71,10 +71,12 @@ func (nc *networkController) Run(ctx context.Context) error { if nc.corroService.Running() { // Corrosion service was running before the WireGuard network was configured so we need to restart it. + slog.Info("Restarting corrosion service to apply new configuration with WireGuard network.") if err := nc.corroService.Restart(ctx); err != nil { return fmt.Errorf("restart corrosion service: %w", err) } } else { + slog.Info("Starting corrosion service.") if err := nc.corroService.Start(ctx); err != nil { return fmt.Errorf("start corrosion service: %w", err) }