diff --git a/entrypoint/src/cmd/entrypoint/daemon.go b/entrypoint/src/cmd/entrypoint/daemon.go index ed7ba3b..038628c 100644 --- a/entrypoint/src/cmd/entrypoint/daemon.go +++ b/entrypoint/src/cmd/entrypoint/daemon.go @@ -71,6 +71,11 @@ func reloadBootstrap( } hostBootstrap.Hosts = newHosts + + if err := writeBootstrapToDataDir(hostBootstrap); err != nil { + return bootstrap.Bootstrap{}, false, fmt.Errorf("writing new bootstrap to data dir: %w", err) + } + return hostBootstrap, true, nil }