fix: message when fw.conf is empty

This commit is contained in:
admin 2026-08-03 11:34:53 +00:00
parent 076b801eda
commit 31013b3e82

View file

@ -390,6 +390,9 @@ def main():
def deploy_all():
print("Deploying all from fw.conf...")
cfg = load_config()
if not cfg.get("nodes"):
print("No nodes found in /opt/fw/fw.conf")
return
for name, nc in cfg.get("nodes", {}).items():
if is_deployed(name):
print(f"{name} already deployed")