installer: restore cell identity prompts and domain setup
Unit Tests / test (push) Successful in 15m39s

Reverts 8d1ef39. The installer must collect cell name, domain mode, and
provider tokens before 'make install' so that DDNS registration,
availability checks, and Caddy TLS can be configured at first boot.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-25 15:01:32 -04:00
parent 8d1ef39ca5
commit 2d842abe5b
5 changed files with 345 additions and 19 deletions
+5
View File
@@ -510,6 +510,11 @@ class ConfigManager:
cfg.setdefault('peer_exit_map', {})
return dict(cfg)
def set_ddns_config(self, ddns_cfg: Dict[str, Any]) -> None:
"""Replace the top-level ddns section and persist."""
self.configs['ddns'] = ddns_cfg
self._save_all_configs()
def set_connectivity_field(self, field: str, value: Any) -> bool:
"""Set a single field within the connectivity config and persist."""
cfg = self.configs.setdefault('connectivity', {'exits': {}, 'peer_exit_map': {}})